Skip to content

chore: Fix tests

chore: Fix tests #134

Workflow file for this run

---
name: Pull Requests
on:
pull_request:
branches:
- main
env:
GOTOOLCHAIN: local
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.22", "1.23"]
name: Test on Go ${{ matrix.go }}
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Install just
uses: extractions/setup-just@v2
- name: Test
run: just test
golangci:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
check-latest: true
cache: false
- name: golangci-lint
uses: golangci/[email protected]
with:
version: latest
args: "--config=.golangci.yaml -v"