Skip to content

🚀 11.4.2 (#1205) #2869

🚀 11.4.2 (#1205)

🚀 11.4.2 (#1205) #2869

Workflow file for this run

name: "Lint & License Check"
on:
pull_request:
push:
paths-ignore:
- 'docs/**'
branches:
- "main"
tags: ["v*.*.*"]
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ vars.PERMISSIONS_CONFIG }}
- uses: actions/checkout@v4
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ">=${{ env.golang-version }}"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=20m0s
license-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Copywrite
uses: hashicorp/[email protected]
- name: Check Header Compliance
run: copywrite headers --plan