Skip to content

build(deps): bump actions/checkout from 3 to 4 #145

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #145

Workflow file for this run

name: build-test-lint
on:
push:
tags: [v*]
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20", "1.21"]
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Test
run: go test ./... -cover -race -coverprofile=coverage.out -covermode=atomic
- name: Build
run: go build -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
# token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out