Skip to content

chore: add lint & build #1

chore: add lint & build

chore: add lint & build #1

name: Lint, Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install dependencies
run: go mod download
- name: Lint
run: make lint
- name: Run tests
run: make test