Skip to content

Commit

Permalink
chore: make codeql action use golang specified in go.mod (#947)
Browse files Browse the repository at this point in the history
* chore: specify go 1.22.0 in go.mod

Related PRs:
- https://github.com/pivotal/cloud-service-broker-ci/pull/795

* Revert "chore: specify go 1.22.0 in go.mod"

This reverts commit 6ce84f2.

* chore: make codeql action use golang specified in go.mod

Related PRs:
- https://github.com/argentumcode/systemd-failure-pagerduty/pull/8/files
- #947
- #948

* Revert "chore: update codeql-action to support new go toolchains (#948)"

This reverts commit 35fc6a0.
  • Loading branch information
fnaranjo-vmw authored Feb 9, 2024
1 parent dd99af1 commit 77c9b00
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ jobs:
languages: ${{ matrix.language }}
queries: +security-and-quality

# Install golang used by this project (https://github.com/github/codeql-action/issues/1842)
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"

- name: Autobuild
uses: github/codeql-action/autobuild@v3.24.0
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3.24.0
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 77c9b00

Please sign in to comment.