Skip to content

Commit

Permalink
chore: setup go version
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Oct 10, 2023
1 parent 58be6be commit e1c2cfb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
branches: ["main", "v[0-9].[0-9].x", "v[0-9].[0-9][0-9].x", "v[0-9].x"]
pull_request:

env:
GO_VERSION: '1.21.1'

jobs:
analyze:
name: Analyze
Expand Down Expand Up @@ -54,9 +57,11 @@ jobs:
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

- name: Build binary
run: |
make build
Expand Down

0 comments on commit e1c2cfb

Please sign in to comment.