Skip to content

Revert "test: update release.yml" #60

Revert "test: update release.yml"

Revert "test: update release.yml" #60

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.19.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 }}