mirror of
https://github.com/Swatinem/rust-cache
synced 2026-04-10 00:15:33 +00:00
Bumps the actions group with 3 updates in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action), [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) and [cachix/install-nix-action](https://github.com/cachix/install-nix-action). Updates `taiki-e/install-action` from 2.68.34 to 2.70.2 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](de6bbd1333...e9e8e031bc) Updates `dependabot/fetch-metadata` from 2.5.0 to 3.0.0 - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](21025c705c...ffa630c65f) Updates `cachix/install-nix-action` from 31.10.1 to 31.10.3 - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md) - [Commits](1ca7d21a94...96951a368b) --- updated-dependencies: - dependency-name: taiki-e/install-action dependency-version: 2.70.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: dependabot/fetch-metadata dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: cachix/install-nix-action dependency-version: 31.10.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
33 lines
749 B
YAML
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@96951a368ba55167b55f1c916f7d416bac6505fe # v31.10.3
|
|
|
|
- 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
|