Skip to content

Commit 05323b1

Browse files
authored
Merge pull request #125 from gofiber/codex/2025-07-09-07-14-27
2 parents 8eeef8c + d5cad69 commit 05323b1

File tree

5 files changed

+31
-18
lines changed

5 files changed

+31
-18
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.
@@ -29,15 +29,15 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v2
3333
# Override language selection by uncommenting this and choosing your languages
3434
with:
3535
languages: go
3636

3737
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3838
# If this step fails, then you should remove it and run the build manually (see below)
3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
40+
uses: github/codeql-action/autobuild@v2
4141

4242
# ℹ️ Command-line programs to run using the OS shell.
4343
# 📚 https://git.io/JvXDl
@@ -51,4 +51,4 @@ jobs:
5151
# make release
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
54+
uses: github/codeql-action/analyze@v2

.github/workflows/linter.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
on: [push, pull_request]
22
name: Linter
33
jobs:
4-
Golint:
4+
golint:
55
runs-on: ubuntu-latest
66
steps:
7-
- name: Fetch Repository
8-
uses: actions/checkout@v2
7+
- name: Check out repository
8+
uses: actions/checkout@v4
9+
- name: Set up Go
10+
uses: actions/setup-go@v5
11+
with:
12+
go-version: 1.22.x
913
- name: Run Golint
10-
uses: reviewdog/action-golangci-lint@v1
14+
uses: reviewdog/action-golangci-lint@v2
1115
with:
1216
golangci_lint_flags: "--tests=false"

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
2121

2222
# Drafts your next Release notes as Pull Requests are merged into "master"
23-
- uses: release-drafter/release-drafter@v5
23+
- uses: release-drafter/release-drafter@v6
2424
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
2525
# with:
2626
# config-name: my-config.yml

.github/workflows/security.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ jobs:
44
Gosec:
55
runs-on: ubuntu-latest
66
steps:
7-
- name: Fetch Repository
8-
uses: actions/checkout@v2
7+
- name: Check out repository
8+
uses: actions/checkout@v4
99
- name: Run Gosec
10-
uses: securego/gosec@master
11-
with:
12-
args: -exclude-dir=internal/*/ ./...
10+
uses: securego/gosec@v2
11+
with: args: -exclude-dir=internal/*/ ./...
12+

.github/workflows/test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,20 @@ jobs:
88
platform: [ubuntu-latest, windows-latest]
99
runs-on: ${{ matrix.platform }}
1010
steps:
11-
- name: Install Go
12-
uses: actions/setup-go@v1
11+
- name: Check out repository
12+
uses: actions/checkout@v4
13+
- name: Set up Go
14+
uses: actions/setup-go@v5
1315
with:
1416
go-version: ${{ matrix.go-version }}
15-
- name: Fetch Repository
16-
uses: actions/checkout@v2
17+
- name: Cache modules
18+
uses: actions/cache@v3
19+
with:
20+
path: |
21+
~/go/pkg/mod
22+
~/.cache/go-build
23+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
24+
restore-keys: |
25+
${{ runner.os }}-go-
1726
- name: Run Test
1827
run: go test ./... -v -race

0 commit comments

Comments
 (0)