Skip to content

Commit

Permalink
Enable caching in GitHub CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
charmoniumQ committed Mar 8, 2024
1 parent e5b9d4a commit dd516e5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v26

- name: Checkout
uses: actions/checkout@v4

- name: ci.sh
run: nix develop --command ./ci.sh
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix develop --command ./ci.sh

0 comments on commit dd516e5

Please sign in to comment.