workflows: update actions, use go 1.20.10 and 1.21.3

This commit is contained in:
Matthew Penner 2023-10-10 12:43:02 -06:00
parent 48c55af373
commit fc1ffc8cd3
No known key found for this signature in database
4 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,7 @@ jobs:
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

View File

@ -16,11 +16,11 @@ jobs:
if: "!contains(github.ref, 'develop') || (!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip'))"
steps:
- name: Code checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Docker metadata
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/pterodactyl/wings
flavor: |
@ -31,13 +31,13 @@ jobs:
type=ref,event=branch
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -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@v4
uses: docker/build-push-action@v5
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@v4
uses: docker/build-push-action@v5
if: "github.event_name == 'push' && contains(github.ref, 'develop')"
with:
context: .

View File

@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
go: ["1.19.11", "1.20.6"]
go: ["1.20.10", "1.21.3"]
goos: [linux]
goarch: [amd64, arm64]
@ -27,7 +27,7 @@ jobs:
go-version: ${{ matrix.go }}
- name: Code checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: go mod download
env:

View File

@ -12,12 +12,12 @@ jobs:
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.19.11"
go-version: "1.20.10"
- name: Build release binaries
env: