Skip to content

feat: add github action to run the tests #1

feat: add github action to run the tests

feat: add github action to run the tests #1

Workflow file for this run

---
name: test
on:
- push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --enable-all --timeout=30m
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- run: go test -v ./...