Merge pull request #822 from NixOS/remove-dependanbot #1188
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
checks: | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- ubuntu-22.04-arm | |
- macos-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
with: | |
persist-credentials: false | |
- uses: cachix/install-nix-action@56a7bb7b56d9a92d4fd1bc05758de7eea4a370a8 # v31 | |
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 | |
with: | |
name: nixos-infra-dev | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom | |
nixos-x86_64: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
machine: | |
- caliban | |
- elated-minsky | |
- sleepy-brown | |
- haumea | |
- pluto | |
- mimas | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
with: | |
persist-credentials: false | |
- uses: cachix/install-nix-action@56a7bb7b56d9a92d4fd1bc05758de7eea4a370a8 # v31 | |
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 | |
with: | |
name: nixos-infra-dev | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel' | |
nixos-aarch64: | |
runs-on: ubuntu-22.04-arm | |
strategy: | |
fail-fast: false | |
matrix: | |
machine: | |
- umbriel | |
- goofy-hopcroft | |
- staging-hydra | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
with: | |
persist-credentials: false | |
- uses: cachix/install-nix-action@56a7bb7b56d9a92d4fd1bc05758de7eea4a370a8 # v31 | |
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 | |
with: | |
name: nixos-infra-dev | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel' | |
nix-darwin: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
machine: | |
- m1 | |
- m2-large | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
with: | |
persist-credentials: false | |
- uses: cachix/install-nix-action@56a7bb7b56d9a92d4fd1bc05758de7eea4a370a8 # v31 | |
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 | |
with: | |
name: nixos-infra-dev | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#darwinConfigurations."${{ matrix.machine }}".config.system.build.toplevel' |