Skip to content

Commit 1711299

Browse files
committed
Pull request #75: Bumped codeql github actions from v1 to v3
Merge in AW/go-starter from ek/codeql-bump-fix to master * commit '9f038e43464edbb3498d215622b3b338aaf471ad': Bumped codeql github actions from v1 to v3
2 parents 5e54a89 + 9f038e4 commit 1711299

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/build-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
# To use Code Scanning with Dependabot, please ensure you are using the "pull_request" event for this workflow and avoid triggering on the "push" event for Dependabot branches.
8181
# See https://docs.github.com/en/code-security/secure-coding/configuring-code-scanning#scanning-on-push for more information on how to configure these events.
8282
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
83-
uses: github/codeql-action/upload-sarif@v1
83+
uses: github/codeql-action/upload-sarif@v3
8484
with:
8585
sarif_file: 'trivy-results.sarif'
8686
- name: stop container

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
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.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
56+
uses: github/codeql-action/autobuild@v3
5757

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

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
70+
uses: github/codeql-action/analyze@v3

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ res := test.PerformRequest(t, s, "POST", "/api/v1/auth/forgot-password/complete"
2323
response := test.RequireHTTPError(t, res, httperrors.ErrNotFoundTokenNotFound)
2424
```
2525
- Added helpers to get last sent emails from mock transport using `mail := test.GetLastSentMail(t, s.Mailer)` or `sentMails := test.GetSentMails(t, s.Mailer)`
26+
- Bumped Github Actions `github/codeql-action` from v1 to v3 and set go version in `go.mod` to `1.22.4` due to https://github.com/github/codeql/issues/15647
2627

2728
## 2024-05-28
2829
- Fixes the `LogErrorFuncWithRequestInfo` to return the error in order to pass the error to the global error handling mechanism

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module allaboutapps.dev/aw/go-starter
22

3-
go 1.22
3+
go 1.22.4
44

55
require (
66
github.com/BurntSushi/toml v1.3.2

0 commit comments

Comments
 (0)