Skip to content

OOP refactor

OOP refactor #11

Workflow file for this run

---
name: build
on:
push:
branches:
- main
paths-ignore:
- "**.md"
- ".gitignore"
- "resources/**"
pull_request:
branches:
- main
paths-ignore:
- "**.md"
- ".gitignore"
- "resources/**"
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Go
uses: actions/[email protected]
with:
go-version-file: go.mod
- name: Ensure go.mod is already tidied
run: go mod tidy && git diff --no-patch --exit-code
- name: Run linters
uses: golangci/[email protected]
with:
# renovate: depName=golangci/golangci-lint datasource=github-releases
version: v1.63.4
args: --timeout=3m0s
- name: Build with Goreleaser
uses: goreleaser/[email protected]
with:
version: v2.7.0
args: release --snapshot --skip=publish --clean
env:
PRIVATE_ACCESS_TOKEN: placeholder