Skip to content

Commit

Permalink
workaround centos:7 issue
Browse files Browse the repository at this point in the history
The centos:7 build no longer works on github due to this:

Run actions/checkout@v3
/usr/bin/docker exec  02e2cf2da72963d76b12a421e48bc0790138ee97bf567c8afcdf792dbc2093d8 sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /__e/node20/bin/node)

See actions/checkout#1590

Attempt to work around this by allowing an "insecure" node version.

Signed-off-by: John Levon <[email protected]>
  • Loading branch information
jlevon committed Aug 16, 2024
1 parent 2bf46f2 commit 1802dc4
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: pull_request
on: pull_request

#
# Work around https://github.com/actions/checkout/issues/1590
#
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
ubuntu-20:
timeout-minutes: 10
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
sudo apt-get update
Expand All @@ -17,7 +24,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
sudo apt-get update
Expand All @@ -30,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
container: centos:7
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
# NB: no working flake8
Expand All @@ -43,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
container: fedora:35
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
dnf -y install --releasever=35 \
Expand All @@ -56,7 +63,7 @@ jobs:
runs-on: ubuntu-20.04
container: debian:11
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
apt-get update
Expand All @@ -69,7 +76,7 @@ jobs:
runs-on: ubuntu-22.04
container: debian:12
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-push
run: |
apt-get update
Expand All @@ -81,6 +88,6 @@ jobs:
runs-on: ubuntu-latest
container: vlajos/misspell-fixer
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: run misspell-fixer
run: /misspell-fixer/misspell-fixer -sv .

0 comments on commit 1802dc4

Please sign in to comment.