ci: ubuntu-22.04, go1.19.11, go1.20.6

This commit is contained in:
Matthew Penner 2023-07-15 14:40:45 -06:00
parent aa8ffdfcf7
commit c9d92f7bac
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
actions: read

View File

@ -11,7 +11,7 @@ on:
jobs:
build-and-push:
name: Build and Push
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
# Always run against a tag, even if the commit into the tag has [docker skip] within the commit message.
if: "!contains(github.ref, 'develop') || (!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip'))"
steps:
@ -50,7 +50,7 @@ jobs:
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and Push (tag)
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
if: "github.event_name == 'release' && github.event.action == 'published'"
with:
context: .
@ -63,7 +63,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
- name: Build and Push (develop)
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
if: "github.event_name == 'push' && contains(github.ref, 'develop')"
with:
context: .

View File

@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
go: ["1.19.9", "1.20.4"]
os: [ubuntu-22.04]
go: ["1.19.11", "1.20.6"]
goos: [linux]
goarch: [amd64, arm64]

View File

@ -8,7 +8,7 @@ on:
jobs:
release:
name: Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Code Checkout
@ -17,7 +17,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.19.9"
go-version: "1.19.11"
- name: Build release binaries
env: