mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
28 lines
739 B
YAML
28 lines
739 B
YAML
name: "Test"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- staging
|
|
- trying
|
|
jobs:
|
|
tests:
|
|
strategy:
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
# FIXME macos garbage currently collect also nix-shell that runs the test
|
|
#os: [ ubuntu-latest, macos-latest ]
|
|
nix: [ stable, unstable ]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v22
|
|
with:
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
|
extra_nix_config: |
|
|
keep-outputs = true
|
|
keep-derivations = true
|
|
experimental-features = nix-command flakes
|
|
- run:
|
|
"nix run --accept-flake-config .#test-runner-${{ matrix.nix }}"
|