Skip to content

Commit

Permalink
Fix CodeQL issues (#1221)
Browse files Browse the repository at this point in the history
* Install Go before initialising codeql
* Correct the Go version to be
  1.N.P - https://go.dev/doc/toolchain#version
  • Loading branch information
wjam authored Jan 3, 2025
1 parent af8208f commit 2711120
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: go
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.mod'
- name: Initialize CodeQL
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: go
- name: Build
run: make
- name: Perform CodeQL Analysis
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/wjam/aws_finder

go 1.23
go 1.23.4

require (
github.com/aws/aws-sdk-go-v2 v1.32.7
Expand Down

0 comments on commit 2711120

Please sign in to comment.