Skip to content

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#78) #85

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#78)

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#78) #85

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.22.x
cache: false
- uses: golangci/golangci-lint-action@v5
name: Install golangci-lint
with:
version: latest
args: --help
- run: make lint
name: Lint
test:
name: Test / Go ${{ matrix.go }}
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.21.x", "1.22.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'yarn'
cache-dependency-path: yarn.lock
- name: Download dependencies
run: yarn install
- name: Test
run: make cover
- name: Upload coverage
uses: codecov/codecov-action@v4