Skip to content

Commit 31456cf

Browse files
committed
TX-16896: gh actions upgrades
1 parent e2983e1 commit 31456cf

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121
- name: Set up Go
22-
uses: actions/setup-go@v2
22+
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.16
24+
go-version: 1.26
2525
- name: Docker Login
26-
uses: docker/login-action@v1
26+
uses: docker/login-action@v3
2727
with:
2828
username: txservices
2929
password: ${{ secrets.DOCKERHUB_TOKEN }}
3030
- name: Run GoReleaser
31-
uses: goreleaser/goreleaser-action@v2
31+
uses: goreleaser/goreleaser-action@v6
3232
with:
3333
distribution: goreleaser
3434
version: latest

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

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

6161
# ℹ️ Command-line programs to run using the OS shell.
6262
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -69,4 +69,4 @@ jobs:
6969
# ./location_of_script_within_repo/buildscript.sh
7070

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

.github/workflows/test.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ on:
88
name: Test
99
jobs:
1010
test:
11-
env:
12-
GO111MODULE: "on"
1311
strategy:
1412
matrix:
15-
go-version: [1.16.x]
13+
go-version: [1.26.x]
1614
os: [ubuntu-latest, macos-latest, windows-latest]
1715
runs-on: ${{ matrix.os }}
1816
steps:
1917
- name: Install Go
20-
uses: actions/setup-go@v2
18+
uses: actions/setup-go@v5
2119
with:
2220
go-version: ${{ matrix.go-version }}
2321
- name: Checkout code
24-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2523
- name: Build
2624
run: make local-build
2725
- name: Test
@@ -38,12 +36,12 @@ jobs:
3836
runs-on: ubuntu-latest
3937
steps:
4038
- name: Install Go
41-
uses: actions/setup-go@v2
39+
uses: actions/setup-go@v5
4240
with:
43-
go-version: "1.17.x"
41+
go-version: "1.26.x"
4442
- name: Checkout code
45-
uses: actions/checkout@v2
43+
uses: actions/checkout@v4
4644
- name: Install staticcheck
47-
run: go install honnef.co/go/tools/cmd/staticcheck@2022.1
45+
run: go install honnef.co/go/tools/cmd/staticcheck@latest
4846
- name: Run staticcheck
4947
run: staticcheck ./...

0 commit comments

Comments
 (0)