mirror of
https://github.com/samsonjs/csc360-a1-shell.git
synced 2026-04-27 14:57:43 +00:00
Try caching deps
This commit is contained in:
parent
c6f33411f9
commit
23f0616dbc
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
|
@ -13,8 +13,20 @@ jobs:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: ruby/Gemfile
|
||||||
with:
|
with:
|
||||||
ruby-version: 4.0.0
|
ruby-version: 4.0.0
|
||||||
|
bundler-cache: true
|
||||||
|
- name: Cache apt packages
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
/var/cache/apt
|
||||||
|
/var/lib/apt/lists
|
||||||
|
key: ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/test.yml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-apt-
|
||||||
- name: Bootstrap
|
- name: Bootstrap
|
||||||
run: make bootstrap
|
run: make bootstrap
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue