.github/workflows/main.yml in static_collection-0.3.1 vs .github/workflows/main.yml in static_collection-0.3.2
- old
+ new
@@ -6,16 +6,16 @@
cancel-in-progress: true
jobs:
build:
name: Build
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
strategy:
matrix:
- ruby-version: [2.7.5, 3.0.3, 3.1.0, 3.2.0]
+ ruby-version: [3.0.6, 3.1.4, 3.2.2]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby-version }}
@@ -28,12 +28,12 @@
# and not run for each ruby version in the matrix:
release:
name: Release
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
needs: build
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Release the gem
run: |