.goreleaser.yml: add "version: 2" and change changelog.skip to change… #505
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: 'go.mod' | |
- name: Gofmt | |
run: ./scripts/gofmt.sh | |
- name: Build | |
run: go build ./... | |
- name: Staticcheck | |
uses: dominikh/[email protected] | |
with: | |
version: "2023.1" |