Skip to content

Merge pull request #176 from marcoshuck/dependabot/github_actions/doc… #293

Merge pull request #176 from marcoshuck/dependabot/github_actions/doc…

Merge pull request #176 from marcoshuck/dependabot/github_actions/doc… #293

Workflow file for this run

name: Format
on:
pull_request:
push:
branches:
- main
tags:
- v*
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: fmt
run: make fmt
lint:
runs-on: ubuntu-latest
env:
GOPRIVATE: ${{ inputs.go-private }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache: true
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m
vet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
- name: vet
run: make vet