Skip to content

Fix some linter errors #3

Fix some linter errors

Fix some linter errors #3

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
checks: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: Install dependencies
run: go mod download
- name: Build application
run: go build -v .
- name: Run tests
run: go test -v ./...