Bump github.com/onsi/gomega from 1.30.0 to 1.31.1 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Golang Code Analysis" | |
on: | |
push: | |
branches: [ "main", release-* ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
analyze-on-linux: | |
name: Analyze on Linux | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'go' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql-config.yml | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: "Build Application" | |
run: | | |
make bin | |
cd multicluster | |
make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{matrix.language}}" | |
analyze-on-windows: | |
name: Analyze on Windows | |
runs-on: windows-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'go' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql-config.yml | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: Build Antrea windows binaries | |
run: make windows-bin | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{matrix.language}}" |