Test 🧪 #103
Workflow file for this run
This file contains hidden or 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: Test 🧪 | |
| on: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| determinate-nix-action: | |
| name: determinate-nix-action (${{ matrix.hatchet-protocol }}) on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04] | |
| hatchet-protocol: [holster, carve, cleave, rampage] | |
| fail-fast: false | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./.github/actions/this | |
| - name: Purge | |
| uses: ./.github/actions/this | |
| with: | |
| hatchet-protocol: ${{ matrix.hatchet-protocol }} | |
| witness-carnage: true | |
| - uses: DeterminateSystems/determinate-nix-action@main | |
| - name: Nix | |
| run: | | |
| nix --version | |
| echo "Hello Nix" | nix run "https://flakehub.com/f/NixOS/nixpkgs/*#neo-cowsay" | |
| # Build a package to ensure the Nix store is functional | |
| nix build "https://flakehub.com/f/NixOS/nixpkgs/*#hello" | |
| nix-quick-install: | |
| name: nix-quick-action (${{ matrix.hatchet-protocol }}) on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04] | |
| hatchet-protocol: [holster, carve, cleave, rampage] | |
| fail-fast: false | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./.github/actions/this | |
| - name: Purge | |
| uses: ./.github/actions/this | |
| with: | |
| hatchet-protocol: ${{ matrix.hatchet-protocol }} | |
| witness-carnage: true | |
| nix-permission-edict: true | |
| - uses: nixbuild/nix-quick-install-action@v30 | |
| - name: Nix | |
| run: | | |
| nix --version | |
| echo "Hello Nix" | nix run "nixpkgs#neo-cowsay" | |
| # Build a package to ensure the Nix store is functional | |
| nix build "nixpkgs#hello" | |
| cachix-nix-action: | |
| name: cachix-nix-action (${{ matrix.hatchet-protocol }}) on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04] | |
| hatchet-protocol: [holster, carve, cleave, rampage] | |
| fail-fast: false | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./.github/actions/this | |
| - name: Purge | |
| uses: ./.github/actions/this | |
| with: | |
| hatchet-protocol: ${{ matrix.hatchet-protocol }} | |
| witness-carnage: true | |
| nix-permission-edict: true | |
| - uses: cachix/install-nix-action@v31 | |
| - name: Nix | |
| run: | | |
| nix --version | |
| echo "Hello Nix" | nix run "nixpkgs#neo-cowsay" | |
| # Build a package to ensure the Nix store is functional | |
| nix build "nixpkgs#hello" |