name: build configuration on: pull_request: types: [opened, synchronize, edited, reopened] branches: - main push: branches: - main jobs: build_compute01: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build compute01 run: | # Enter the shell nix-shell --run 'colmena build --on compute01' build_storage01: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build storage01 run: | # Enter the shell nix-shell --run 'colmena build --on storage01' build_vault01: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build vault01 run: | # Enter the shell nix-shell --run 'colmena build --on vault01' build_web01: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build web01 run: | # Enter the shell nix-shell --run 'colmena build --on web01' build_web02: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build web02 run: | # Enter the shell nix-shell --run 'colmena build --on web02' build_rescue01: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build rescue01 run: | # Enter the shell nix-shell --run 'colmena build --on rescue01' push_to_cache: runs-on: nix needs: - build_compute01 - build_storage01 - build_vault01 - build_web01 - build_web02 - build_rescue01 steps: - uses: actions/checkout@v3 - name: Push to cache run: nix-shell --run push-to-cache env: ATTIC_ENDPOINT: "https://cachix.dgnum.eu" ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}