Skip to content

build(deps): bump codecov/codecov-action from 3 to 4 #91

build(deps): bump codecov/codecov-action from 3 to 4

build(deps): bump codecov/codecov-action from 3 to 4 #91

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out repository
- uses: actions/setup-go@v5
name: Set up Go
with:
go-version: 1.20.x
cache: false
- uses: golangci/golangci-lint-action@v3
name: Install golangci-lint
with:
version: latest
args: --version
- run: make lint
name: Lint
test:
name: Test / Go ${{ matrix.go }}
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20.x", "1.21.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
- name: Download dependencies
run: go mod download
- name: Test
run: make cover
- name: Upload coverage
uses: codecov/codecov-action@v4