Bump github/codeql-action from 3.26.12 to 3.26.13 #707
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: Go | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0" | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
build: | |
name: Build with Go | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set REPOSITORY | |
run: echo "REPOSITORY=${GITHUB_REPOSITORY#*/}" >> "${GITHUB_ENV}" | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: "stable" | |
check-latest: true | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Get dependencies | |
run: make dep | |
- name: Vet | |
run: make vet | |
- name: Static Check | |
run: make staticcheck | |
- name: Build | |
run: make compile | |
- name: Test | |
run: make test | |
- name: Upload artifacts | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: ${{ env.REPOSITORY }} | |
path: bin/ |