From 7d87d83109d46a57f1c5241631bb41b6a15e742a Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 8 Feb 2023 16:29:38 -0500 Subject: [PATCH 1/6] workflows: update Debian stretch to bullseye stretch is very EOL. --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index acb2a8c9..77b1107d 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - baseimage: ['debian:stretch', 'ubuntu:18.04', 'ubuntu:20.04'] + baseimage: ['debian:bullseye', 'ubuntu:18.04', 'ubuntu:20.04'] steps: - run: sudo apt-get -qq update - name: Install libsystemd-dev From 7a7156978ea2df0fc83e2c74fde852ac8148500e Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 1 Jun 2023 00:58:23 -0400 Subject: [PATCH 2/6] workflows: replace Ubuntu 18.04 with 22.04 18.04 is out of regular maintenance. --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 77b1107d..fdfa312d 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - baseimage: ['debian:bullseye', 'ubuntu:18.04', 'ubuntu:20.04'] + baseimage: ['debian:bullseye', 'ubuntu:20.04', 'ubuntu:22.04'] steps: - run: sudo apt-get -qq update - name: Install libsystemd-dev From 4296e6eee7cfcb15413e168fd7106833434ab317 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 8 Feb 2023 16:33:58 -0500 Subject: [PATCH 3/6] workflows: build container test on Ubuntu 20.04 We need an older glibc for the binaries to work on older distros. --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index fdfa312d..b790e881 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -18,7 +18,7 @@ env: jobs: ditro-test: name: "Distro test" - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: baseimage: ['debian:bullseye', 'ubuntu:20.04', 'ubuntu:22.04'] From 39c6aeff71df1e99623efec5b4bff38999f59575 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 1 Jun 2023 01:11:48 -0400 Subject: [PATCH 4/6] workflows: update checkout action to current major version Fixes deprecation warning for Node.js 12: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index b790e881..83fabb0c 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -26,7 +26,7 @@ jobs: - run: sudo apt-get -qq update - name: Install libsystemd-dev run: sudo apt-get install libsystemd-dev - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup go uses: actions/setup-go@v1 with: From 6f5a8681f070621ffeec971aa716c7cfc5673eab Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Fri, 24 Mar 2023 19:06:56 -0400 Subject: [PATCH 5/6] workflows: switch to setup-go v4 Cache dependencies and build outputs by default. --- .github/workflows/containers.yml | 2 +- .github/workflows/go.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 83fabb0c..502dbef4 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -28,7 +28,7 @@ jobs: run: sudo apt-get install libsystemd-dev - uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ env['GO_TOOLCHAIN'] }} - name: Go build (source) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 22110d93..53bd905b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt-get install libsystemd-dev - uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - name: Go fmt @@ -45,7 +45,7 @@ jobs: run: sudo apt-get install libsystemd-dev - uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env['ACTION_MINIMUM_TOOLCHAIN'] }} - name: Go fmt From 1ea583ff592eb9c930ef5ef977903d583e7fa57a Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 8 Feb 2023 13:39:50 -0500 Subject: [PATCH 6/6] workflows: add Go 1.20 --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 53bd905b..620eddbe 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.17.x', '1.18.x', '1.19.x'] + go: ['1.17.x', '1.18.x', '1.19.x', '1.20.x'] steps: - run: sudo apt-get -qq update - name: Install libsystemd-dev