From 5315c85e4342b4d6aaadbdbc4b9cff015cc46c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 15 Nov 2021 08:09:45 -0600 Subject: [PATCH 1/7] Test for act --- .github/workflows/test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62a7dcaa..c847f433 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -109,3 +109,14 @@ 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 + - name: Setup act + uses: actionsflow/setup-act-for-actionsflow@v1 + - run: act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file From c5e83e525e9f9295e52db2d237f3261a2270cd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 15 Nov 2021 12:40:24 -0600 Subject: [PATCH 2/7] Update .github/workflows/test.yml Co-authored-by: Ryan --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c847f433..0b49b125 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -117,6 +117,5 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2.4.0 - - name: Setup act - uses: actionsflow/setup-act-for-actionsflow@v1 - - run: act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file + - run: go install github.com/nektos/act@latest + - run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file From ac899278cfbc1ab2b81b739d737f6b471aa086d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Nov 2021 06:08:11 -0600 Subject: [PATCH 3/7] Update .github/workflows/test.yml Co-authored-by: Ryan --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b49b125..b226c9c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -117,5 +117,8 @@ jobs: 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@latest - run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file From 9489b6bd0b582ab58d8de996e87a1a6de9bc8ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Nov 2021 12:05:57 -0600 Subject: [PATCH 4/7] Update .github/workflows/test.yml Co-authored-by: Ryan --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b226c9c3..590d2e33 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -121,4 +121,4 @@ jobs: with: go-version: '^1.16' - run: go install github.com/nektos/act@latest - - run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file + - run: ~/go/bin/act --pull -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file From 31bbb1e1e8b149b09702394f0f3579df13bc27a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Nov 2021 15:29:19 -0600 Subject: [PATCH 5/7] Update .github/workflows/test.yml Co-authored-by: Ryan --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 590d2e33..c8ac12b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -121,4 +121,5 @@ jobs: with: go-version: '^1.16' - run: go install github.com/nektos/act@latest - - run: ~/go/bin/act --pull -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file + - run: docker pull ghcr.io/catthehacker/ubuntu:full-20.04 + - run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file From 7a6ac48c9d1819cfe1eb05745b11ea3e04cf6d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Nov 2021 15:44:12 -0600 Subject: [PATCH 6/7] Update .github/workflows/test.yml Co-authored-by: Ryan --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8ac12b0..f7c3ff94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -120,6 +120,6 @@ jobs: - uses: actions/setup-go@v2.1.4 with: go-version: '^1.16' - - run: go install github.com/nektos/act@latest - - run: docker pull ghcr.io/catthehacker/ubuntu:full-20.04 - - run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04 push -j simple-build \ No newline at end of file + - 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 From 76f99676004c1530baa4c77a5336baa12ec4dc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Nov 2021 20:14:02 -0600 Subject: [PATCH 7/7] try fixing act --- lib/install-nix.sh | 2 ++ 1 file changed, 2 insertions(+) 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