Skip to content

Commit

Permalink
ci(codeql): set up go version from go.mod
Browse files Browse the repository at this point in the history
Signed-off-by: Universal Studio <[email protected]>
  • Loading branch information
TMUniversal committed Feb 25, 2024
1 parent 6273159 commit a70370b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: go.mod
check-latest: true
cache-dependency-path: "**/*.sum"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down

0 comments on commit a70370b

Please sign in to comment.