Skip to content

Commit

Permalink
Merge pull request #111 from cachix/act
Browse files Browse the repository at this point in the history
Test for act
  • Loading branch information
domenkozar committed Nov 19, 2021
2 parents d045d9f + 76f9967 commit 3db69e0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -109,3 +109,17 @@ jobs:
nix_path: nixpkgs=channel:nixos-21.05
install_url: https://releases.nixos.org/nix/nix-2.3.5/install
- 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
2 changes: 2 additions & 0 deletions lib/install-nix.sh
Expand Up @@ -43,6 +43,8 @@ else
# "fix" the following error when running nix*
# error: the group 'nixbld' specified in 'build-users-group' does not exist
add_config "build-users-group ="
mkdir -m 0755 /etc/nix
cp $workdir/nix.conf /etc/nix/nix.conf
fi

if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
Expand Down

0 comments on commit 3db69e0

Please sign in to comment.