Skip to content

Commit

Permalink
move checkout ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
benkio committed Jun 29, 2024
1 parent 0070589 commit feffdd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
test-macos:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v27
with:
Expand All @@ -23,14 +21,16 @@ jobs:
- name: Install nix-darwin
run:
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
../result/bin/darwin-installer
./result/bin/darwin-installer
- uses: cachix/cachix-action@v14
with:
name: mycache
# If you chose signing key for write access
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
# If you chose API tokens for write access OR if you have a private cache
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Checkout
uses: actions/checkout@v3
- name: Formatting
run: |
echo this workflow was triggered by ${{github.actor}}
Expand Down

0 comments on commit feffdd4

Please sign in to comment.