Skip to content

next: v4 release tracker #159

next: v4 release tracker

next: v4 release tracker #159

Workflow file for this run

name: linux
on:
push:
branches:
- main
pull_request:
jobs:
# lint
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.19
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
runs-on: ubuntu-latest
needs:
- lint
strategy:
matrix:
go: ['1.22', 'tip']
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: |
go test -v -race -covermode atomic -coverprofile=coverage.txt ./...
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
flags: linux,local
fail_ci_if_error: true
files: ./coverage.txt