Bump golang from 1.23.3-bullseye to 1.23.4-bullseye in /cicd (#224) #565
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: Testing | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go: [ '1.23' ] | |
os: [ ubuntu-latest, macOS-latest ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{matrix.go}} | |
- name: go vet | |
shell: bash --noprofile --norc -x -eo pipefail {0} | |
run: | | |
go mod tidy | |
go vet ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60 | |
- name: Run tests | |
shell: bash --noprofile --norc -x -eo pipefail {0} | |
env: | |
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} | |
run: | | |
export GOPATH="$RUNNER_WORKSPACE" | |
go test -v -race -p 1 ./... | |
./scripts/cov.sh CI |