Bump DeterminateSystems/magic-nix-cache-action from 8 to 9 #525
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ${{ matrix.runs-on.labels }} | |
strategy: | |
matrix: | |
runs-on: | |
- labels: [ubuntu-latest] | |
system: x86_64-linux | |
# TODO: Seems github ran out of capacity. they're queuing forever | |
# - labels: [ubuntu-latest-arm] | |
# system: aarch64-linux | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f # v12 | |
- uses: DeterminateSystems/magic-nix-cache-action@6221693898146dc97e38ad0e013488a16477a4c4 # v9 | |
- run: nix flake check -L --system ${{ matrix.runs-on.system }} | |
publish: | |
if: github.event_name == 'push' | |
needs: [check] | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.1 | |
- uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f # v12 | |
- uses: DeterminateSystems/flakehub-push@8da9e38b7e77f2b0a8aa08a22e57cc5c6316ea72 #v5 | |
with: | |
name: NixOS/amis | |
rolling: true | |
visibility: public |