Skip to content

compile only on latest #52

compile only on latest

compile only on latest #52

Workflow file for this run

name: lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
env:
GO_VERSION: "1.23.x"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: lint
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3