Skip to content

Commit

Permalink
update github CI actions workflow uses versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dropwhile committed Jul 20, 2023
1 parent ed41556 commit e93fbcd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: go

- name: build
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
5 changes: 3 additions & 2 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Go ${{ matrix.goVer }}
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
check-latest: true
id: go

- name: Src Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
fetch-depth: 1

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
id: go

- name: Src Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
fetch-depth: 1

Expand Down

0 comments on commit e93fbcd

Please sign in to comment.