Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 #192

Bump actions/checkout from 4.1.7 to 4.2.0

Bump actions/checkout from 4.1.7 to 4.2.0 #192

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