From 2f381543cffd69c1c5ce0fb30bbdeeb551e58f04 Mon Sep 17 00:00:00 2001 From: Ties de Kock Date: Fri, 3 Mar 2023 14:59:18 +0100 Subject: [PATCH] Use newer github actions --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/docker-tag.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/go.yml | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 54430fa..1b11ce4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,12 +13,12 @@ jobs: steps: - name: Set latest stable go version - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 'stable' - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: '0' diff --git a/.github/workflows/docker-tag.yml b/.github/workflows/docker-tag.yml index 4ae26e6..e51d485 100644 --- a/.github/workflows/docker-tag.yml +++ b/.github/workflows/docker-tag.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Out Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get short SHA from commit hash id: tagcalc diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5aef7fe..def0cca 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,7 +12,7 @@ jobs: run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" - name: Check Out Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to Docker Hub uses: docker/login-action@v1 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 848a0dd..8e1679f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,16 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up go version from go.mod - uses: actions/setup-go@v2 - with: - go-version-file: 'go.mod' - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: '0' + - name: Set up go version from go.mod + uses: actions/setup-go@v3 + with: + go-version-file: 'go.mod' + - name: Test & Vet run: make test vet