fix(deps): update all non-major dependencies #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v6 | |
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 |