Skip to content

Commit 716dbfa

Browse files
committed
ci: modernize containers.yml
1. Bump actions/setup-go and actions/checkout versions. 2. Use ubuntu-latest instead of 20.04. 3. Bump go 1.15 -> 1.24. 4. Fix a typo in job step name. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 829dc6b commit 716dbfa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/containers.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ permissions:
1111
contents: read
1212

1313
env:
14-
GO_TOOLCHAIN: "1.15"
14+
GO_TOOLCHAIN: "1.24"
1515
GOPATH: "/opt"
1616
BUILD_DIR: "/opt/src/github.com/coreos/go-systemd"
1717

1818
jobs:
19-
ditro-test:
19+
distro-test:
2020
name: "Distro test"
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
2424
baseimage: ['debian:bullseye', 'ubuntu:20.04', 'ubuntu:22.04']
2525
steps:
2626
- run: sudo apt-get -qq update
2727
- name: Install libsystemd-dev
2828
run: sudo apt-get install libsystemd-dev
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
- name: Setup go
31-
uses: actions/setup-go@v4
31+
uses: actions/setup-go@v5
3232
with:
3333
go-version: ${{ env['GO_TOOLCHAIN'] }}
3434
- name: Go build (source)

0 commit comments

Comments
 (0)