3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-04-10 00:15:33 +00:00
rust-cache/.github/workflows/nix.yml
dependabot[bot] 9840bdffb4
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.68.34 to 2.69.7
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](de6bbd1333...0d865d5cc6)

Updates `cachix/install-nix-action` from 31.10.1 to 31.10.2
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](1ca7d21a94...51f3067b56)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 21:46:38 +00:00

33 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@51f3067b56fe8ae331890c77d4e454f6d60615ff # v31.10.2
- 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