Skip to content

Commit

Permalink
ci: cache snaps (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Aug 28, 2024
1 parent 9e33e09 commit 7999d6c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
linters:
runs-on: ubuntu-latest
steps:
- name: Cache Snaps
id: cache-snaps
uses: actions/cache@v4
with:
path: /var/lib/snapd/snaps
key: ${{ runner.os }}-snaps
- name: Begin async installations
run: |
sudo snap install --no-wait --classic pyright
Expand Down Expand Up @@ -45,6 +51,13 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- name: Cache Snaps
id: cache-snaps
uses: actions/cache@v4
with:
path: /var/lib/snapd/snaps
key: ${{ runner.os }}-snaps
if: ${{ matrix.platform == 'ubuntu-latest' }}
- name: Begin async install
run: |
sudo snap install --no-wait --classic --beta astral-uv
Expand Down

0 comments on commit 7999d6c

Please sign in to comment.