nix-direnv/.github/workflows/test.yml
dependabot[bot] 77eb200782
Bump cachix/install-nix-action from 21 to 22
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>
2023-06-19 04:56:39 +00:00

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 }}"