Skip to content

Commit 9a19238

Browse files
Update GitHub Action Versions
1 parent fab47d8 commit 9a19238

16 files changed

+60
-60
lines changed

.github/workflows/ci-docker-tools.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ jobs:
4545
runs-on: ubuntu-latest
4646

4747
steps:
48-
- uses: actions/checkout@v3
49-
- uses: docker/setup-buildx-action@v2
50-
- uses: docker/login-action@v2
48+
- uses: actions/checkout@v4.2.2
49+
- uses: docker/setup-buildx-action@v3.7.1
50+
- uses: docker/login-action@v3.3.0
5151
with:
5252
username: ${{ secrets.DOCKER_USERNAME }}
5353
password: ${{ secrets.DOCKER_PASSWORD }}
5454

5555
- name: 'Build tykio/ci-tools:${{ matrix.tag }}'
56-
uses: docker/build-push-action@v4
56+
uses: docker/build-push-action@v6.9.0
5757
with:
5858
push: ${{ github.ref_name == 'main' || github.event_name == 'workflow_dispatch' }}
5959
pull: true
@@ -65,7 +65,7 @@ jobs:
6565
- run: docker image ls
6666

6767
- name: 'Extract tykio/ci-tools:${{ matrix.tag }}'
68-
uses: shrink/actions-docker-extract@v3
68+
uses: shrink/actions-docker-extract@v3.0.1
6969
with:
7070
image: tykio/ci-tools:${{ matrix.tag }}
7171
path: /usr/local/bin/.

.github/workflows/ci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: arduino/setup-task@v1
31+
- uses: actions/checkout@v4.2.2
32+
- uses: arduino/setup-task@v2.0.0
3333
with:
3434
version: 3
3535

.github/workflows/create-update-comment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Find Comment
24-
uses: peter-evans/find-comment@v2
24+
uses: peter-evans/find-comment@v3.1.0
2525
id: fc
2626
with:
2727
issue-number: ${{ github.event.pull_request.number }}
2828
comment-author: ${{ inputs.comment-author }}
2929
body-includes: ${{ inputs.body-includes }}
3030

3131
- name: Create or update comment
32-
uses: peter-evans/create-or-update-comment@v3
32+
uses: peter-evans/create-or-update-comment@v4.0.0
3333
with:
3434
comment-id: ${{ steps.fc.outputs.comment-id }}
3535
issue-number: ${{ github.event.pull_request.number }}

.github/workflows/godoc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ jobs:
3131
token: ${{ secrets.ORG_GH_TOKEN }}
3232

3333
- name: Checkout exp
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4.2.2
3535
with:
3636
fetch-depth: 1
3737
repository: TykTechnologies/exp
3838
ref: main
3939
path: exp
4040

4141
- name: Setup Go
42-
uses: actions/setup-go@v4
42+
uses: actions/setup-go@v5.1.0
4343
with:
4444
go-version: ${{ inputs.go-version }}
4545

4646
- name: Install Task
47-
uses: arduino/setup-task@v1
47+
uses: arduino/setup-task@v2.0.0
4848
with:
4949
version: 3
5050

@@ -77,15 +77,15 @@ jobs:
7777
echo "EOF" >> $GITHUB_OUTPUT
7878
7979
- name: Find Comment
80-
uses: peter-evans/find-comment@v2
80+
uses: peter-evans/find-comment@v3.1.0
8181
id: fc
8282
with:
8383
issue-number: ${{ github.event.pull_request.number }}
8484
comment-author: 'github-actions[bot]'
8585
body-includes: API Changes
8686

8787
- name: Create or update comment
88-
uses: peter-evans/create-or-update-comment@v3
88+
uses: peter-evans/create-or-update-comment@v4.0.0
8989
with:
9090
comment-id: ${{ steps.fc.outputs.comment-id }}
9191
issue-number: ${{ github.event.pull_request.number }}

.github/workflows/golangci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Git - checkout master
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4.2.2
1919
with:
2020
ref: ${{ inputs.main_branch }}
2121
fetch-depth: 1
2222
- name: Git - checkout current ref
23-
uses: actions/checkout@v3
24-
- uses: actions/cache@v3
23+
uses: actions/checkout@v4.2.2
24+
- uses: actions/cache@v4.1.2
2525
with:
2626
# In order:
2727
# * Module download cache
@@ -43,7 +43,7 @@ jobs:
4343
curl 'https://raw.githubusercontent.com/TykTechnologies/github-actions/main/.github/workflows/.golangci.tmpl.yaml' -o .golangci.yaml
4444
- name: Render template
4545
id: render_template
46-
uses: chuhlomin/render-template@v1.7
46+
uses: chuhlomin/render-template@v1.10
4747
with:
4848
template: .golangci.yaml
4949
result_path: .golangci.yaml
@@ -68,7 +68,7 @@ jobs:
6868
git checkout $ref
6969
fi
7070
cp /tmp/.golangci.yaml .golangci.yaml
71-
- uses: actions/setup-go@v3
71+
- uses: actions/setup-go@v5.1.0
7272
with:
7373
go-version: ${{ inputs.go }}
7474
- name: Fetch modules
@@ -86,13 +86,13 @@ jobs:
8686
run: |
8787
$(go env GOPATH)/bin/golangci-lint run --verbose --out-format 'checkstyle:golangci_lint.xml' --timeout=300s --new=false --new-from-rev= ./...
8888
89-
- uses: actions/upload-artifact@v3
89+
- uses: actions/upload-artifact@v4.4.3
9090
if: ${{ always() }}
9191
with:
9292
name: golangci-report
9393
path: "*xml"
9494

95-
- uses: reviewdog/action-setup@v1
95+
- uses: reviewdog/action-setup@v1.3.0
9696
if: ${{ always() }}
9797
with:
9898
reviewdog_version: latest # Optional. [latest,nightly,v.X.Y.Z]

.github/workflows/gotest.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ jobs:
1919
name: Go Test
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/setup-go@v3
22+
- uses: actions/setup-go@v5.1.0
2323
with:
2424
go-version: ${{ inputs.go }}
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4.2.2
2626

2727
- name: Start Redis
2828
if: ${{ inputs.redis != '' }}
29-
uses: supercharge/redis-github-action@1.2.0
29+
uses: supercharge/redis-github-action@1.8.0
3030
with:
3131
redis-version: '${{ inputs.redis }}'
3232

3333
- name: Start MongoDB
3434
if: ${{ inputs.mongo != '' }}
35-
uses: supercharge/mongodb-github-action@1.2.0
35+
uses: supercharge/mongodb-github-action@1.11.0
3636
with:
3737
mongodb-version: '${{ inputs.mongo }}'
3838

3939
- name: Cache
40-
uses: actions/cache@v2
40+
uses: actions/cache@v4.1.2
4141
with:
4242
path: ~/go/pkg/mod
4343
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -67,18 +67,18 @@ jobs:
6767
gotestsum --junitfile ${coveragefile}.xml --raw-command go test ${OPTS} --json -timeout 15m -coverprofile=${coveragefile}.cov ${pkg} ${tags}
6868
done
6969
70-
- uses: actions/upload-artifact@v3
70+
- uses: actions/upload-artifact@v4.4.3
7171
with:
7272
name: coverage
7373
path: "*cov"
74-
- uses: actions/upload-artifact@v3
74+
- uses: actions/upload-artifact@v4.4.3
7575
if: ${{ always() }}
7676
with:
7777
name: junit
7878
path: "*xml"
7979
- name: Github report view
8080
if: ${{ always() }}
81-
uses: phoenix-actions/test-reporting@v8
81+
uses: phoenix-actions/test-reporting@v15
8282
with:
8383
name: Unit Test Results
8484
path: "*.xml"

.github/workflows/govulncheck.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-go@v3
12+
- uses: actions/checkout@v4.2.2
13+
- uses: actions/setup-go@v5.1.0
1414

1515
- name: Govulncheck scan
1616
run: |

.github/workflows/nancy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Check out code into the Go module directory
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4.2.2
2121

2222
- name: Set up Go 1.x in order to write go.list file
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@v5.1.0
2424
with:
2525
go-version: 1.17
2626

@@ -36,6 +36,6 @@ jobs:
3636
working-directory: ./${{ inputs.dir }}
3737

3838
- name: Nancy scan
39-
uses: sonatype-nexus-community/nancy-github-action@main
39+
uses: sonatype-nexus-community/nancy-github-action@v1.0.2
4040
with:
4141
goListFile: ${{ inputs.dir }}/go.list

.github/workflows/owasp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: OWASP Zap
16-
uses: zaproxy/action-full-scan@v0.4.0
16+
uses: zaproxy/action-full-scan@v0.11.0
1717
with:
1818
target: ${{ inputs.target }}
1919
cmd_options: '-a'

.github/workflows/pr-agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: PR Agent action step
2121
id: pragent
22-
uses: Codium-ai/pr-agent@main
22+
uses: Codium-ai/pr-agent@v0.24
2323
env:
2424
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)