Skip to content

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #194

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #194

Workflow file for this run

name: Go
on:
pull_request: {}
push:
branches:
- main
tags:
- "*"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "^1.19"
- name: Run GolangCI-Lint
uses: golangci/[email protected]
build:
name: Build
needs: lint
runs-on: ubuntu-latest
if: >
startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "^1.19"
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}