Skip to content

Bump alpine from 3.20.2 to 3.20.3 in /cicd (#215) #555

Bump alpine from 3.20.2 to 3.20.3 in /cicd (#215)

Bump alpine from 3.20.2 to 3.20.3 in /cicd (#215) #555

Workflow file for this run

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