From 7a79e0978bdb9905776fcb6e53f131e58f2c88b4 Mon Sep 17 00:00:00 2001 From: Brian Normington Date: Sat, 30 Nov 2024 11:11:17 -0800 Subject: [PATCH] chore: updated git workflow actions --- .github/workflows/edge.yml | 12 ++++++------ .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index 0b65d18..eeb2a3d 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -6,25 +6,25 @@ on: - main env: - GO_VERSION: "1.16" + GO_VERSION: "1.22" DOCKER_REGISTRY: "ghcr.io" jobs: edge: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Login to GitHub Packages Docker Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ${{ env.DOCKER_REGISTRY }} username: ${{ github.repository_owner }} @@ -33,4 +33,4 @@ jobs: - name: Build and Push docker image run: | DOCKER_TAG=edge make docker - docker push ${{ env.DOCKER_REGISTRY }}/goodwaygroup/gwsm:edge \ No newline at end of file + docker push ${{ env.DOCKER_REGISTRY }}/goodwaygroup/gwsm:edge diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b516541..471fb46 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eecde35..d8cb4ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: goreleaser on: push: tags: - - '*' + - "*" env: GO_VERSION: "1.16" @@ -11,27 +11,27 @@ env: jobs: goreleaser: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Login to GitHub Packages Docker Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ${{ env.DOCKER_REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --rm-dist