Skip to content

[UPD] v1.0.0

[UPD] v1.0.0 #4

Workflow file for this run

---
name: Linters
on:
push:
branches: main
pull_request:
branches: main
permissions:
contents: read
packages: read
statuses: write
jobs:
super-linter:
name: Lint Multiple
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_JSCPD: false
VALIDATE_GO: false
VALIDATE_GO_MODULES: false
golangci-lint:
name: Lint Golang
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.10
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: go mod tidy
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=3m