Skip to content

Commit a2a6b37

Browse files
authored
Update github actions (#322)
1 parent 632d136 commit a2a6b37

File tree

5 files changed

+17
-21
lines changed

5 files changed

+17
-21
lines changed

.github/workflows/build.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,22 @@ jobs:
1313
steps:
1414

1515
- name: Set up Go
16-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
1717
with:
1818
go-version: 1.17
1919

2020
- name: checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Unit tests
2424
run: make test
2525

2626
- name: Upload code coverage
27-
uses: codecov/codecov-action@v3
27+
uses: codecov/codecov-action@v4
2828
with:
2929
files: cover.out
3030

3131
- name: golangci-lint
32-
uses: golangci/golangci-lint-action@v3
32+
uses: golangci/golangci-lint-action@v5
3333
with:
34-
version: v1.45.2
35-
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
36-
skip-pkg-cache: true
37-
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
38-
skip-build-cache: true
34+
version: v1.50.1

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v2
46+
uses: github/codeql-action/init@v3
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v2
57+
uses: github/codeql-action/autobuild@v3
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v2
71+
uses: github/codeql-action/analyze@v3

.github/workflows/deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
contents: read
1515
packages: write
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v5
2121
with:
2222
go-version: 1.17
2323

2424
- name: Build image
2525
run: make docker-build
2626

2727
- name: Login to GitHub Container Registry
28-
uses: docker/login-action@v1
28+
uses: docker/login-action@v3
2929
with:
3030
registry: ghcr.io
3131
username: ${{ github.actor }}

.github/workflows/integration-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
id-token: write
1616
steps:
1717
- name: Configure AWS credentials
18-
uses: aws-actions/configure-aws-credentials@v1
18+
uses: aws-actions/configure-aws-credentials@v4
1919
with:
2020
aws-region: us-west-2
2121
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
2222
role-session-name: IntegrationTestSession
2323
- name: Checkout code
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
- name: Set up Go
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v5
2727
with:
2828
go-version: 1.17
2929
- name: Set up env

.github/workflows/mkdocs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout main
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212

1313
- name: Setup python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: 3.x
1717

0 commit comments

Comments
 (0)