Skip to content

Commit

Permalink
Fixes setup of golang by using the version of go.mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-fritz committed Oct 10, 2023
1 parent aa2c22e commit 1b557e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go

- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version-file: go.mod

- name: Build Dependencies
run: make buildDeps
Expand Down

0 comments on commit 1b557e6

Please sign in to comment.