Skip to content

Commit

Permalink
Use newer github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ties committed Mar 3, 2023
1 parent 5738e20 commit 774f324
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 774f324

Please sign in to comment.