Skip to content

Commit

Permalink
fix codeql build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinForReal committed May 23, 2024
2 parents 5639819 + 2b9b890 commit 3f53218
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
matrix:
include:
- language: go
build-mode: autobuild
build-mode: manual
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
Expand Down Expand Up @@ -80,12 +80,7 @@ jobs:
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
go test ./... && make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4.1.1 # v4.1.1
- name: Setup Golang
uses: actions/setup-go@v4.1.0 # v4.1.0
uses: actions/setup-go@v5.0.1 # v4.1.0
with:
go-version-file: go.mod
- name: Build binary
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
contents: read
steps:
- name: Login to GHCR
uses: docker/#-action@v1
uses: docker/#-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -77,11 +77,11 @@ jobs:
pull-requests: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v3.0.2 # v3.0.2
uses: actions/download-artifact@v4.1.7 # v3.0.2
with:
path: ./artifacts
- name: Publish release
uses: softprops/action-gh-release@v1 # v1
uses: softprops/action-gh-release@v2 # v1
with:
files: |
./artifacts/azure-ipoib-ipam-cni-*-*/*

0 comments on commit 3f53218

Please # to comment.