name: Tests on: pull_request: push: jobs: tests: strategy: matrix: os: - label: Linux image: ubuntu-latest name: ${{ matrix.os.label }} runs-on: ${{ matrix.os.image }} steps: - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Install Nix uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23 - name: Enable Binary Cache uses: cachix/cachix-action@v16 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: nix develop -c cargo test