Skip to content

Dev

Dev #4

Workflow file for this run

name: Go
on:
pull_request:
branches: [ main, dev ]
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get ./...
- name: Run make test
run: make test
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58