Skip to content

Commit

Permalink
Updated codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jm20122012 committed Jul 3, 2024
1 parent 5a0897e commit 27606c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,15 @@ jobs:
with:
go-version: '1.22.4'

- name: Tidy Go modules
run: |
cd controller
go mod tidy
- name: Build Go code
run: go build -o main ./controller/cmd/controllerservice
run: |
cd controller
go build -o main ./cmd/controllerservice
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion controller/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module sprinkler-controller-service

go 1.22.4

require github.com/joho/godotenv v1.5.1 // indirect
require github.com/joho/godotenv v1.5.1

0 comments on commit 27606c3

Please sign in to comment.