Skip to content

Bump actions/checkout from 4.1.0 to 4.1.1 #153

Bump actions/checkout from 4.1.0 to 4.1.1

Bump actions/checkout from 4.1.0 to 4.1.1 #153

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