Skip to content

chore(deps): update github/codeql-action action to v2.21.5 #401

chore(deps): update github/codeql-action action to v2.21.5

chore(deps): update github/codeql-action action to v2.21.5 #401

Workflow file for this run

name: Go
on:
workflow_dispatch:
workflow_call:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [ '1.18', '1.19', '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
working-directory: cmd
- name: Test
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./...
working-directory: .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3