mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 08:30:51 +00:00
commit
3db69e0239
2 changed files with 16 additions and 0 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -109,3 +109,17 @@ jobs:
|
||||||
nix_path: nixpkgs=channel:nixos-21.05
|
nix_path: nixpkgs=channel:nixos-21.05
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.3.5/install
|
install_url: https://releases.nixos.org/nix/nix-2.3.5/install
|
||||||
- run: nix-build test.nix
|
- run: nix-build test.nix
|
||||||
|
|
||||||
|
act-support:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.4.0
|
||||||
|
- uses: actions/setup-go@v2.1.4
|
||||||
|
with:
|
||||||
|
go-version: '^1.16'
|
||||||
|
- run: go install github.com/nektos/act@master
|
||||||
|
- run: docker pull ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
|
- run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-20.04 push -j simple-build
|
|
@ -43,6 +43,8 @@ else
|
||||||
# "fix" the following error when running nix*
|
# "fix" the following error when running nix*
|
||||||
# error: the group 'nixbld' specified in 'build-users-group' does not exist
|
# error: the group 'nixbld' specified in 'build-users-group' does not exist
|
||||||
add_config "build-users-group ="
|
add_config "build-users-group ="
|
||||||
|
mkdir -m 0755 /etc/nix
|
||||||
|
cp $workdir/nix.conf /etc/nix/nix.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue