diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62a7dcaa..f7c3ff94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file diff --git a/lib/install-nix.sh b/lib/install-nix.sh index 904f487a..8301444a 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -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