Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[major, fix] workflows: bump actions version and remove unsupported runner 18.04 #5381

Merged
merged 5 commits into from
Apr 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/block-autosquash-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:

steps:
- name: Block Autosquash Commits
uses: xt0rted/block-autosquash-commits-action@v2.0.0
uses: xt0rted/block-autosquash-commits-action@v2.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 10 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# One of the tests wants this
sudo mkdir /tmp/flatpak-com.example.App-OwnedByRoot
- name: Check out flatpak
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
submodules: true
- name: Build appstream dependency # (We need at least 0.15.3 for the g_once fix)
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
if: failure() || cancelled()
run: mv _build/meson-logs/* test-logs/ || true
- name: Upload test logs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
if: failure() || cancelled()
with:
name: test logs
Expand All @@ -105,7 +105,7 @@ jobs:
# * Disable malcontent build-dependency
check-alt2:
name: Build with gcc and test (older)
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install Dependencies
run: |
Expand All @@ -120,7 +120,7 @@ jobs:
# One of the tests wants this
sudo mkdir /tmp/flatpak-com.example.App-OwnedByRoot
- name: Check out flatpak
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
submodules: true
- name: Create logs dir
Expand All @@ -146,7 +146,6 @@ jobs:
# https://gitlab.gnome.org/GNOME/glib/-/issues/1014
- name: Upgrade GLib before running tests
run: |
sudo add-apt-repository ppa:alexlarsson/glib260
sudo apt-get install -y libglib2.0-dev
- name: Run tests
run: make -C _build check -j $(getconf _NPROCESSORS_ONLN)
Expand All @@ -159,7 +158,7 @@ jobs:
if: failure() || cancelled()
run: mv _build/tests/*.log test-logs/ || true
- name: Upload test logs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
if: failure() || cancelled()
with:
name: test logs
Expand All @@ -169,7 +168,7 @@ jobs:
permissions:
security-events: write # for codeql
name: Build with clang and analyze
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -198,7 +197,7 @@ jobs:
libseccomp-dev libsoup2.4-dev libcurl4-openssl-dev libsystemd-dev libxml2-utils libgpgme11-dev gobject-introspection \
libgirepository1.0-dev libappstream-dev libdconf-dev clang e2fslibs-dev
- name: Check out flatpak
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
submodules: true
- name: configure
Expand All @@ -214,7 +213,7 @@ jobs:
valgrind:
name: Run tests in valgrind
needs: check # Don't run expensive test if main check fails
runs-on: ubuntu-20.04 # Might as well test with a different one too
runs-on: ubuntu-22.04 # Might as well test with a different one too
if: ${{ false }} # Currently Valgrind takes too long and always fails
steps:
- name: Install Dependencies
Expand All @@ -229,7 +228,7 @@ jobs:
libgirepository1.0-dev libappstream-dev libdconf-dev clang socat meson libdbus-1-dev \
valgrind e2fslibs-dev
- name: Check out flatpak
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
submodules: true
- name: Create logs dir
Expand Down Expand Up @@ -259,7 +258,7 @@ jobs:
if: failure() || cancelled()
run: mv _build/tests/*.log test-logs/ || true
- name: Upload test logs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
if: failure() || cancelled()
with:
name: test logs
Expand Down