This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
add command timeout; improve yaml marshaling to file; disable git wri… #56
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: Build | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.0 | |
- name: Get dependencies | |
run: | | |
go install -v ./... | |
- name: Pre Commit | |
run: make pre-commit | |
- name: Run Build | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
version: latest | |
args: build --snapshot --clean |