Compare commits

...

2 Commits

Author SHA1 Message Date
Stephen Sykes
f8d0b37e95
Merge pull request #137 from orien/github-actions
Use GitHub Actions for CI
2023-01-17 08:01:16 +01:00
Orien Madgwick
c295d5da98 Use GitHub Actions for CI 2023-01-16 22:36:55 +11:00
3 changed files with 30 additions and 14 deletions

29
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,29 @@
---
name: Tests
on: [ push, pull_request ]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '2.0'
- '2.1'
- '2.2'
- '2.3'
- '2.4'
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake

View File

@ -1,13 +0,0 @@
language: ruby
cache: bundler
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0

View File

@ -1,5 +1,5 @@
!https://img.shields.io/gem/dt/fastimage.svg!:https://rubygems.org/gems/fastimage
!https://travis-ci.org/sdsykes/fastimage.svg?branch=master!:https://travis-ci.org/sdsykes/fastimage
!https://github.com/sdsykes/fastimage/actions/workflows/test.yml/badge.svg?branch=master!:https://github.com/sdsykes/fastimage/actions/workflows/test.yml
h1. FastImage