Merge pull request #124 from AaronErhardt/371bdependabot/cargo/future… #220
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: "Nix build" | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
name: ${{ matrix.attribute }} / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
attribute: | |
- .#devShells.x86_64-linux.default | |
- .#packages.x86_64-linux.tuxedo-rs | |
- .#packages.x86_64-linux.tailor-gui | |
- .#checks.x86_64-linux.formatting | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v15 | |
- name: Set up cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: tuxedo-rs | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix build "${{matrix.attribute}}" |