Skip to content

Create release.yml

Create release.yml #6

Workflow file for this run

name: lint
permissions: {} # no need any permissions
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
run:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
check-latest: true
- name: Lint
uses: golangci/[email protected]
with:
version: latest
args: --timeout 5m