Skip to content

workflow update

workflow update #21

Workflow file for this run

name: 🙏🏻 Lint Test
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '**.go'
- '**.mod'
jobs:
lint:
name: Lint Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
cache: true
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: latest
args: --timeout 5m
working-directory: .