From 00e49d6aef1c4b5475ee8dfb832ec64d5ee50c3b Mon Sep 17 00:00:00 2001 From: QuintenQVD0 Date: Mon, 15 Jun 2026 14:05:13 +0200 Subject: [PATCH] Bump golang & github action packages --- .github/workflows/codeql.yaml | 2 +- .github/workflows/docker.yaml | 14 ++++++------ .github/workflows/push.yaml | 14 ++++++------ .github/workflows/release.yaml | 41 ++++++---------------------------- Dockerfile | 2 +- 5 files changed, 23 insertions(+), 50 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 95744efc..5df03c2f 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -28,7 +28,7 @@ jobs: steps: - name: Code Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index beb86ca1..a9478311 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -19,11 +19,11 @@ jobs: if: "!contains(github.ref, 'main') || (!contains(github.event.head_commit.message, 'skip docker') && !contains(github.event.head_commit.message, 'docker skip'))" steps: - name: Code checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Docker metadata id: docker_meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository }} flavor: | @@ -34,13 +34,13 @@ jobs: type=ref,event=branch - name: Setup QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Setup Docker buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -53,7 +53,7 @@ jobs: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Build and Push (tag) - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: "github.event_name == 'release' && github.event.action == 'published'" with: context: . @@ -66,7 +66,7 @@ jobs: tags: ${{ steps.docker_meta.outputs.tags }} - name: Build and Push (main) - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: "github.event_name == 'push' && contains(github.ref, 'main')" with: context: . diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 5fa2af27..06b63633 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -16,18 +16,18 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04] - go: ["1.25.7", "1.26.0"] + go: ["1.25.11", "1.26.4"] goos: [linux] goarch: [amd64, arm64] steps: - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: Code checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: go mod download env: @@ -61,15 +61,15 @@ jobs: go test -race $(go list ./...) - name: Upload Release Artifact - uses: actions/upload-artifact@v4 - if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.25.7' }} + uses: actions/upload-artifact@v7 + if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.25.11' }} with: name: wings_linux_${{ matrix.goarch }} path: dist/wings - name: Upload Debug Artifact - uses: actions/upload-artifact@v4 - if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.25.7' }} + uses: actions/upload-artifact@v7 + if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.25.11' }} with: name: wings_linux_${{ matrix.goarch }}_debug path: dist/wings_debug diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e7758a09..335170da 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,12 +15,12 @@ jobs: steps: - name: Code Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: "1.25.7" + go-version: "1.25.11" - name: Build release binaries env: @@ -61,40 +61,13 @@ jobs: - name: Create release id: create_release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: draft: true prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }} body_path: ./RELEASE_CHANGELOG - - - name: Upload amd64 binary - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: dist/wings_linux_amd64 - asset_name: wings_linux_amd64 - asset_content_type: application/octet-stream - - - name: Upload arm64 binary - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: dist/wings_linux_arm64 - asset_name: wings_linux_arm64 - asset_content_type: application/octet-stream - - - name: Upload checksum - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./checksums.txt - asset_name: checksums.txt - asset_content_type: text/plain + files: | + dist/* + checksums.txt diff --git a/Dockerfile b/Dockerfile index 8db98c69..f0242995 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 (Build) -FROM golang:1.25.7-alpine AS builder +FROM golang:1.25.11-alpine AS builder ARG VERSION RUN apk add --update --no-cache git make