Merge pull request #1639 from voegelas/update-workflows

Update GitHub workflows
This commit is contained in:
André Roth authored and GitHub committed 2026-10-12 16:09:33 +02:00
commit 1c5db5f5b3
2 files changed
+20 -23

No files matched your search

+18 -21
View File
@@ -24,7 +24,7 @@ jobs:
timeout-minutes: 30
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# fetch the whole repo for `git describe` to work
fetch-depth: 0
@@ -36,7 +36,7 @@ jobs:
make docker-unit-test
mkdir -p out/coverage
mv unit.out out/coverage/
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: unit-tests-coverage
path: out/
@@ -60,7 +60,7 @@ jobs:
sudo apt-get install -y --no-install-recommends graphviz gnupg2 gpgv2 git gcc make devscripts python3 python3-requests-unixsocket python3-termcolor python3-swiftclient python3-boto python3-azure-storage python3-etcd3 python3-plyvel flake8 faketime dput-ng
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# fetch the whole repo for `git describe` to work
fetch-depth: 0
@@ -77,7 +77,7 @@ jobs:
id: goversion
- name: "Setup Go"
uses: actions/setup-go@v3
uses: actions/setup-go@v7
with:
go-version: ${{ steps.goversion.outputs.GOVER }}
@@ -108,7 +108,7 @@ jobs:
mkdir -p out/coverage
COVERAGE_DIR=$PWD/out/coverage make system-test
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: system-tests-coverage
path: out/
@@ -123,15 +123,15 @@ jobs:
- test
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: "Download Unit Test Coverage"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: unit-tests-coverage
- name: "Download System Test Coverage"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: system-tests-coverage
@@ -158,7 +158,7 @@ jobs:
strategy:
fail-fast: false
matrix:
name: ["Debian 13/trixie", "Debian 12/bookworm", "Debian 11/bullseye", "Ubuntu 26.04", "Ubuntu 24.04", "Ubuntu 22.04", "Ubuntu 20.04"]
name: ["Debian 13/trixie", "Debian 12/bookworm", "Ubuntu 26.04", "Ubuntu 24.04", "Ubuntu 22.04", "Ubuntu 20.04"]
arch: ["amd64", "i386" , "arm64" , "armhf"]
include:
- name: "Debian 13/trixie"
@@ -167,9 +167,6 @@ jobs:
- name: "Debian 12/bookworm"
suite: bookworm
image: debian:bookworm-slim
- name: "Debian 11/bullseye"
suite: bullseye
image: debian:bullseye-slim
- name: "Ubuntu 26.04"
suite: resolute
image: ubuntu:26.04
@@ -199,7 +196,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# fetch the whole repo for `git describe` to work
fetch-depth: 0
@@ -212,7 +209,7 @@ jobs:
id: goversion
- name: "Setup Go"
uses: actions/setup-go@v3
uses: actions/setup-go@v7
with:
go-version: ${{ steps.goversion.outputs.GOVER }}
@@ -268,7 +265,7 @@ jobs:
- name: "Upload CI Artifacts"
if: github.ref != 'refs/heads/master' && !startsWith(github.event.ref, 'refs/tags')
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.suite }}_${{ matrix.arch }}
path: build/
@@ -290,7 +287,7 @@ jobs:
goarch: arm
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# fetch the whole repo for `git describe` to work
fetch-depth: 0
@@ -301,7 +298,7 @@ jobs:
id: goversion
- name: "Setup Go"
uses: actions/setup-go@v3
uses: actions/setup-go@v7
with:
go-version: ${{ steps.goversion.outputs.GOVER }}
@@ -328,7 +325,7 @@ jobs:
make binaries GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
- name: "Upload Artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: startsWith(github.event.ref, 'refs/tags')
with:
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
@@ -336,7 +333,7 @@ jobs:
compression-level: 0 # no compression
- name: "Upload CI Artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: "!startsWith(github.event.ref, 'refs/tags')"
with:
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
@@ -352,7 +349,7 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags')
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: "Get aptly version"
env:
@@ -364,7 +361,7 @@ jobs:
id: releaseversion
- name: "Download Artifacts"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: out/
+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: "Read go version from go.mod"
run: |
@@ -23,7 +23,7 @@ jobs:
id: goversion
- name: "Setup Go"
uses: actions/setup-go@v3
uses: actions/setup-go@v7
with:
go-version: ${{ steps.goversion.outputs.GOVER }}