Skip to content

Commit

Permalink
ci: Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rickynils committed Nov 5, 2024
1 parent 1a459e0 commit da4598e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
os: [ubuntu-22.04, macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v12
- uses: cachix/cachix-action@v15
with:
name: nixbuild
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
Expand All @@ -29,7 +29,7 @@ jobs:
run: |
nix build .#nix-archives
echo "result=$(readlink result)" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nix-archives-${{ runner.os }}
path: ${{ steps.build-nix-archives.outputs.result }}/
Expand All @@ -54,8 +54,8 @@ jobs:
- 2.3.18
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
id: nix-archives
with:
name: nix-archives-${{ runner.os }}
Expand Down Expand Up @@ -92,8 +92,8 @@ jobs:
- 2.3.18
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
id: nix-archives
with:
name: nix-archives-${{ runner.os }}
Expand All @@ -102,7 +102,7 @@ jobs:
nix_archives_url: file://${{steps.nix-archives.outputs.download-path}}
nix_version: ${{ matrix.nix_version }}
nix_conf: ${{ matrix.nix_conf }}
- uses: cachix/cachix-action@v12
- uses: cachix/cachix-action@v15
with:
name: nixbuild
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
Expand All @@ -127,20 +127,20 @@ jobs:
- test-cachix
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: nix-archives-Linux
path: /tmp/archives
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: nix-archives-macOS
path: /tmp/archives
- uses: ./
with:
nix_archives_url: file:///tmp/archives
nix_version: 2.24.9
- uses: cachix/cachix-action@v12
- uses: cachix/cachix-action@v15
with:
name: nixbuild
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
flakes-simple:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v28
- name: nix build
run: nix build ./examples/flakes-simple
Expand Down

0 comments on commit da4598e

Please sign in to comment.