Skip to content

fix: fix github action #54

fix: fix github action

fix: fix github action #54

Workflow file for this run

on: push
name: Push
jobs:
tests:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
-
name: Set up Go
uses: actions/setup-go@main
with:
go-version: 1.16.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist --skip-publish --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}