[GH-ISSUE #208] Can't use with setup-emacs action #141

Closed
opened 2026-03-01 21:40:35 +03:00 by kerem · 2 comments
Owner

Originally created by @ericdallo on GitHub (Apr 25, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/208

I'm using the 18GB image, but when I use this workflow:

name: CI

on:
  push:
    paths-ignore:
    - '**/*.md'

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        emacs_version:
          # - 26.1
          # - 26.2
          # - 26.3
          - snapshot

    steps:
    - uses: actions/checkout@v1

    - uses: purcell/setup-emacs@master
      env:
        RUNNER_TEMP: /tmp # for some reason act don't inject this variable too.
      with:
        version: ${{ matrix.emacs_version }}

it fails with:

[CI/build] 🧪  Matrix: map[emacs_version:snapshot]
[CI/build] 🚀  Start image=nektos/act-environments-ubuntu:18.04
[CI/build]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/build]   🐳  docker cp src=/home/greg/dev/lsp-ui/. dst=/github/workspace
[CI/build] ⭐  Run actions/checkout@v1
[CI/build]   ✅  Success - actions/checkout@v1
[CI/build] ⭐  Run actions/setup-python@v1.1.1
[CI/build]   ☁  git clone 'https://github.com/actions/setup-python' # ref=v1.1.1
[CI/build]   🐳  docker cp src=/home/greg/.cache/act/actions-setup-python@v1.1.1 dst=/actions/
[CI/build]   💬  ##[debug]Semantic version spec of 3.6 is 3.6
[CI/build]   💬  ##[debug]isExplicit: 
[CI/build]   💬  ##[debug]explicit? false
[CI/build]   💬  ##[debug]isExplicit: 2.7.17
[CI/build]   💬  ##[debug]explicit? true
[CI/build]   💬  ##[debug]isExplicit: 3.5.9
[CI/build]   💬  ##[debug]explicit? true
[CI/build]   💬  ##[debug]isExplicit: 3.6.10
[CI/build]   💬  ##[debug]explicit? true
[CI/build]   💬  ##[debug]isExplicit: 3.7.6
[CI/build]   💬  ##[debug]explicit? true
[CI/build]   💬  ##[debug]isExplicit: 3.8.1
[CI/build]   💬  ##[debug]explicit? true
[CI/build]   💬  ##[debug]evaluating 5 versions
[CI/build]   💬  ##[debug]matched: 3.6.10
[CI/build]   💬  ##[debug]checking cache: /opt/hostedtoolcache/Python/3.6.10/x64
[CI/build]   💬  ##[debug]Found tool in cache Python 3.6.10 x64
[CI/build]   ⚙  ::set-env:: pythonLocation=/opt/hostedtoolcache/Python/3.6.10/x64
[CI/build]   ⚙  ::add-path:: /opt/hostedtoolcache/Python/3.6.10/x64
[CI/build]   ⚙  ::add-path:: /opt/hostedtoolcache/Python/3.6.10/x64/bin
[CI/build]##[add-matcher]/actions/actions-setup-python@v1.1.1/.github/python.json
[CI/build]   ✅  Success - actions/setup-python@v1.1.1
[CI/build] ⭐  Run purcell/setup-emacs@master
[CI/build]   ☁  git clone 'https://github.com/purcell/setup-emacs' # ref=master
[CI/build]   🐳  docker cp src=/home/greg/.cache/act/purcell-setup-emacs@master dst=/actions/
[CI/build]   ❓  ::group::Installing Nix
[CI/build]   | [command]/usr/bin/sudo mkdir -p /etc/nix
[CI/build]   | [command]/usr/bin/sudo sh -c echo http2 = false >> /etc/nix/nix.conf
[CI/build]   | [command]/usr/bin/sudo sh -c echo max-jobs = auto >> /etc/nix/nix.conf
[CI/build]   💬  ::debug::Downloading https://nixos.org/nix/install
[CI/build]   💬  ::debug::Destination $HOME/d352b53d-219e-44aa-8dfe-38f9039c8ed7
[CI/build]   💬  ::debug::download complete
[CI/build]   | [command]/bin/sh $HOME/d352b53d-219e-44aa-8dfe-38f9039c8ed7
[CI/build]   | downloading Nix 2.3.4 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.3.4/nix-2.3.4-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.u3AZy7CuyK'...
[CI/build]   |   %!T(MISSING)otal    %!R(MISSING)eceived %!X(MISSING)ferd  Average Speed   Time    Time     Time  Current
[CI/build]   |                                  Dload  Upload   Total   Spent    Left  Speed
[CI/build]   | 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    86  100    86    0     0   1023      0 --:--:-- --:--:-- --:--:--  1023
[CI/build]   | 
  7 16.4M    7 1230k    0     0  2412k      0  0:00:06 --:--:--  0:00:06 2412k
 32 16.4M   32 5438k    0     0  3594k      0  0:00:04  0:00:01  0:00:03 4195k
 52 16.4M   52 8894k    0     0  3544k      0  0:00:04  0:00:02  0:00:02 3833k
 68 16.4M   68 11.3M    0     0  3301k      0  0:00:05  0:00:03  0:00:02 3453k
 88 16.4M   88 14.4M    0     0  3285k      0  0:00:05  0:00:04  0:00:01 3395k
100 16.4M  100 16.4M    0     0  3140k      0  0:00:05  0:00:05 --:--:-- 3217k
[CI/build]   | warning: installing Nix as root is not supported by this script!
[CI/build]   | performing a single-user installation of Nix...
[CI/build]   | directory /nix does not exist; creating it by running 'mkdir -m 0755 /nix && chown root /nix' using sudo
[CI/build]   | copying Nix to /nix/store......................................
[CI/build]   | warning: the group 'nixbld' specified in 'build-users-group' does not exist
[CI/build]   | warning: the group 'nixbld' specified in 'build-users-group' does not exist
[CI/build]   | installing 'nix-2.3.4'
[CI/build]   | error: the group 'nixbld' specified in 'build-users-group' does not exist
[CI/build]   | /tmp/nix-binary-tarball-unpack.u3AZy7CuyK/unpack/nix-2.3.4-x86_64-linux/install: unable to install Nix into your default profile
[CI/build]   ❗  ::error::Action failed with error: Error: The process '/bin/sh' failed with exit code 1
[CI/build]   ❗  ::error::The process '/bin/sh' failed with exit code 1
[CI/build]   ❌  Failure - purcell/setup-emacs@master
Originally created by @ericdallo on GitHub (Apr 25, 2020). Original GitHub issue: https://github.com/nektos/act/issues/208 I'm using the 18GB image, but when I use this workflow: ```yml name: CI on: push: paths-ignore: - '**/*.md' jobs: build: runs-on: ubuntu-latest strategy: matrix: emacs_version: # - 26.1 # - 26.2 # - 26.3 - snapshot steps: - uses: actions/checkout@v1 - uses: purcell/setup-emacs@master env: RUNNER_TEMP: /tmp # for some reason act don't inject this variable too. with: version: ${{ matrix.emacs_version }} ``` it fails with: ```bash [CI/build] 🧪 Matrix: map[emacs_version:snapshot] [CI/build] 🚀 Start image=nektos/act-environments-ubuntu:18.04 [CI/build] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/build] 🐳 docker cp src=/home/greg/dev/lsp-ui/. dst=/github/workspace [CI/build] ⭐ Run actions/checkout@v1 [CI/build] ✅ Success - actions/checkout@v1 [CI/build] ⭐ Run actions/setup-python@v1.1.1 [CI/build] ☁ git clone 'https://github.com/actions/setup-python' # ref=v1.1.1 [CI/build] 🐳 docker cp src=/home/greg/.cache/act/actions-setup-python@v1.1.1 dst=/actions/ [CI/build] 💬 ##[debug]Semantic version spec of 3.6 is 3.6 [CI/build] 💬 ##[debug]isExplicit: [CI/build] 💬 ##[debug]explicit? false [CI/build] 💬 ##[debug]isExplicit: 2.7.17 [CI/build] 💬 ##[debug]explicit? true [CI/build] 💬 ##[debug]isExplicit: 3.5.9 [CI/build] 💬 ##[debug]explicit? true [CI/build] 💬 ##[debug]isExplicit: 3.6.10 [CI/build] 💬 ##[debug]explicit? true [CI/build] 💬 ##[debug]isExplicit: 3.7.6 [CI/build] 💬 ##[debug]explicit? true [CI/build] 💬 ##[debug]isExplicit: 3.8.1 [CI/build] 💬 ##[debug]explicit? true [CI/build] 💬 ##[debug]evaluating 5 versions [CI/build] 💬 ##[debug]matched: 3.6.10 [CI/build] 💬 ##[debug]checking cache: /opt/hostedtoolcache/Python/3.6.10/x64 [CI/build] 💬 ##[debug]Found tool in cache Python 3.6.10 x64 [CI/build] ⚙ ::set-env:: pythonLocation=/opt/hostedtoolcache/Python/3.6.10/x64 [CI/build] ⚙ ::add-path:: /opt/hostedtoolcache/Python/3.6.10/x64 [CI/build] ⚙ ::add-path:: /opt/hostedtoolcache/Python/3.6.10/x64/bin [CI/build] ❓ ##[add-matcher]/actions/actions-setup-python@v1.1.1/.github/python.json [CI/build] ✅ Success - actions/setup-python@v1.1.1 [CI/build] ⭐ Run purcell/setup-emacs@master [CI/build] ☁ git clone 'https://github.com/purcell/setup-emacs' # ref=master [CI/build] 🐳 docker cp src=/home/greg/.cache/act/purcell-setup-emacs@master dst=/actions/ [CI/build] ❓ ::group::Installing Nix [CI/build] | [command]/usr/bin/sudo mkdir -p /etc/nix [CI/build] | [command]/usr/bin/sudo sh -c echo http2 = false >> /etc/nix/nix.conf [CI/build] | [command]/usr/bin/sudo sh -c echo max-jobs = auto >> /etc/nix/nix.conf [CI/build] 💬 ::debug::Downloading https://nixos.org/nix/install [CI/build] 💬 ::debug::Destination $HOME/d352b53d-219e-44aa-8dfe-38f9039c8ed7 [CI/build] 💬 ::debug::download complete [CI/build] | [command]/bin/sh $HOME/d352b53d-219e-44aa-8dfe-38f9039c8ed7 [CI/build] | downloading Nix 2.3.4 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.3.4/nix-2.3.4-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.u3AZy7CuyK'... [CI/build] | %!T(MISSING)otal %!R(MISSING)eceived %!X(MISSING)ferd Average Speed Time Time Time Current [CI/build] | Dload Upload Total Spent Left Speed [CI/build] | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 86 100 86 0 0 1023 0 --:--:-- --:--:-- --:--:-- 1023 [CI/build] | 7 16.4M 7 1230k 0 0 2412k 0 0:00:06 --:--:-- 0:00:06 2412k 32 16.4M 32 5438k 0 0 3594k 0 0:00:04 0:00:01 0:00:03 4195k 52 16.4M 52 8894k 0 0 3544k 0 0:00:04 0:00:02 0:00:02 3833k 68 16.4M 68 11.3M 0 0 3301k 0 0:00:05 0:00:03 0:00:02 3453k 88 16.4M 88 14.4M 0 0 3285k 0 0:00:05 0:00:04 0:00:01 3395k 100 16.4M 100 16.4M 0 0 3140k 0 0:00:05 0:00:05 --:--:-- 3217k [CI/build] | warning: installing Nix as root is not supported by this script! [CI/build] | performing a single-user installation of Nix... [CI/build] | directory /nix does not exist; creating it by running 'mkdir -m 0755 /nix && chown root /nix' using sudo [CI/build] | copying Nix to /nix/store...................................... [CI/build] | warning: the group 'nixbld' specified in 'build-users-group' does not exist [CI/build] | warning: the group 'nixbld' specified in 'build-users-group' does not exist [CI/build] | installing 'nix-2.3.4' [CI/build] | error: the group 'nixbld' specified in 'build-users-group' does not exist [CI/build] | /tmp/nix-binary-tarball-unpack.u3AZy7CuyK/unpack/nix-2.3.4-x86_64-linux/install: unable to install Nix into your default profile [CI/build] ❗ ::error::Action failed with error: Error: The process '/bin/sh' failed with exit code 1 [CI/build] ❗ ::error::The process '/bin/sh' failed with exit code 1 [CI/build] ❌ Failure - purcell/setup-emacs@master ```
kerem 2026-03-01 21:40:35 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 13, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:657298322 --> @github-actions[bot] commented on GitHub (Jul 13, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@github-actions[bot] commented on GitHub (Sep 19, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:695136721 --> @github-actions[bot] commented on GitHub (Sep 19, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#141
No description provided.