Skip to content

Commit

Permalink
Update GitHub Actions workflows
Browse files Browse the repository at this point in the history
- Bump actions/checkout from v2 to v3
- Enable bundler-cache in MSP-Greg/setup-ruby-pkgs@v1
  • Loading branch information
mishina2228 authored and flavorjones committed May 25, 2022
1 parent a5d9a90 commit d92bb65
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/sqlite3-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ jobs:
os: [ubuntu, macos ]
ruby: [ head, 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, truffleruby-head ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: load Ruby and dependencies
uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: libsqlite3-dev
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: install
run: bundle install --jobs 4 --retry 3
- name: compile
run: bundle exec rake compile
- name: test
Expand All @@ -39,15 +38,14 @@ jobs:
os: [windows ]
ruby: [ mingw, 3.1, '3.0', 2.7, 2.6, 2.5, 2.4 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: load Ruby and sqlite3
uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
mingw: sqlite3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: install
run: bundle install --jobs 4 --retry 3
- name: compile msys2
run: bundle exec rake compile:msys2
- name: test
Expand Down

0 comments on commit d92bb65

Please sign in to comment.