Skip to content

Commit

Permalink
CI: Run tests on ubuntu-latest
Browse files Browse the repository at this point in the history
.github/workflows/multiarch.yaml tests started to fail in glib2:

    Exec failed with: Failed to close file descriptor for child process (Operation not permitted)

That's the 2-year-old GitHub bug
<actions/runner-images#3812>. Some other
projects which run ubuntu-latest reported that the bug is already
fixed. We used ubuntu-20.04. ubuntu-latest is ubuntu-22.04 now. Try that.
  • Loading branch information
ppisar committed Mar 28, 2023
1 parent 71ecb12 commit 3d9a471
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/formatters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push
jobs:
autoformat:
name: Auto-format code
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multiarch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ on: [push, pull_request]

jobs:
multiarch:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: ${{ matrix.distro }} on ${{ matrix.arch }}
continue-on-error: true

# Run steps on a matrix of 3 arch/distro combinations
# Run steps on a matrix of 2 arch/distro combinations
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docs:
name: Publish Documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
continue-on-error: false
if: github.repository == 'fedora-modularity/libmodulemd'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upstreamed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
static_analysis:
name: Static Analysis
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.repository == 'fedora-modularity/libmodulemd'
steps:
- name: Checkout code
Expand All @@ -20,7 +20,7 @@ jobs:
docs:
name: Publish Documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
continue-on-error: false
if: github.repository == 'fedora-modularity/libmodulemd'
steps:
Expand Down

0 comments on commit 3d9a471

Please sign in to comment.