Files
go-release/build.yml
2025-10-26 02:20:56 +01:00

22 lines
410 B
YAML

name: Golang Linting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup golang
uses: https://github.com/actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Testing
run: |
go test -v ./...