File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,18 @@ jobs:
5252
5353 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454 # If this step fails, then you should remove it and run the build manually (see below)
55- - name : Autobuild
56- uses : github/codeql-action/autobuild@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
55+ # - name: Autobuild
56+ # uses: github/codeql-action/autobuild@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
5757
5858 # ℹ️ Command-line programs to run using the OS shell.
5959 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6060
6161 # If the Autobuild fails above, remove it and uncomment the following three lines.
6262 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6363
64- # - run: |
65- # echo "Run, Build Application using script"
66- # ./location_of_script_within_repo/buildscript.sh
64+ - name : Build Go
65+ run : |
66+ go build -v
6767
6868 - name : Perform CodeQL Analysis
6969 uses : github/codeql-action/analyze@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ $(GOLANGCI_LINT):
3131 -o ./bin/golangci-lint \
3232 github.com/golangci/golangci-lint/cmd/golangci-lint
3333
34+ .PHONY : build
35+ build : vendor
36+ go build -v
37+
3438.PHONY : lint
3539lint : $(GOLANGCI_LINT )
3640 $(GOLANGCI_LINT ) run --timeout=10m
You can’t perform that action at this time.
0 commit comments