Files
rust-cache/.github/workflows/nix.yml
dependabot[bot] 91cad52c87 Bump the actions group with 2 updates
Bumps the actions group with 2 updates: [taiki-e/install-action](https://github.com/taiki-e/install-action) and [cachix/install-nix-action](https://github.com/cachix/install-nix-action).


Updates `taiki-e/install-action` from 2.75.18 to 2.75.23
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](055f5df8c3...481c34c1cf)

Updates `cachix/install-nix-action` from 31.10.4 to 31.10.5
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](616559265b...ab739621df)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.75.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: cachix/install-nix-action
  dependency-version: 31.10.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-28 00:48:24 +00:00

34 lines
749 B
YAML

name: nix
on: [push, pull_request]
permissions: {}
jobs:
nix:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
name: Test Nix on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31.10.5
- uses: ./
with:
workspaces: tests
cmd-format: nix develop ./tests -c {0}
- run: |
nix develop -c cargo check
nix develop -c cargo test
working-directory: tests