.github/workflows/ci.yml in audited-5.0.2 vs .github/workflows/ci.yml in audited-5.1.0

- old
+ new

@@ -10,11 +10,11 @@ build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0] + ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1] appraisal: - rails50 - rails51 - rails52 - rails60 @@ -25,43 +25,56 @@ # MySQL has issues on Ruby 2.3 # https://github.com/ruby/setup-ruby/issues/150 - ruby: 2.3 db: MYSQL + # PostgresSQL is segfaulting on 2.3 + # Doesn't seem worth solving. + - ruby: 2.3 + db: POSTGRES + # Rails 5.0 supports Ruby 2.2-2.4 - appraisal: rails50 ruby: 2.5 - appraisal: rails50 ruby: 2.6 - appraisal: rails50 ruby: 2.7 - appraisal: rails50 ruby: 3.0 + - appraisal: rails50 + ruby: 3.1 # Rails 5.1 supports Ruby 2.2-2.5 - appraisal: rails51 ruby: 2.6 - appraisal: rails51 ruby: 2.7 - appraisal: rails51 ruby: 3.0 + - appraisal: rails51 + ruby: 3.1 # Rails 5.2 supports Ruby 2.2-2.5 - appraisal: rails52 ruby: 2.6 - appraisal: rails52 ruby: 2.7 - appraisal: rails52 ruby: 3.0 + - appraisal: rails52 + ruby: 3.1 # Rails 6.0 supports Ruby 2.5-2.7 - appraisal: rails60 ruby: 2.3 - appraisal: rails60 ruby: 2.4 - appraisal: rails60 ruby: 3.0 + - appraisal: rails60 + ruby: 3.1 # Rails 6.1 supports Ruby 2.5+ - appraisal: rails61 ruby: 2.3 - appraisal: rails61 @@ -99,10 +112,10 @@ - name: Setup MySQL run: | sudo /etc/init.d/mysql start mysql -e 'CREATE DATABASE audited_test;' -uroot -proot mysql -e 'SHOW DATABASES;' -uroot -proot - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Copy Gemfile run: sed 's/\.\././' gemfiles/${{ matrix.appraisal }}.gemfile > Gemfile - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: