Some checks failed
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 41s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 40s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 42s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 37s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 46s
Go Revive Lint / lint (push) Successful in 54s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 41s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 42s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 35s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 43s
CodeQL Advanced / Analyze (go) (autobuild, go) (push) Failing after 34s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 39s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 37s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 58s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m17s
Run Gosec / tests (push) Successful in 1m14s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (macos-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (windows-latest, amd64) (push) Has been cancelled
Go Test Multi-Platform / Test (macos-latest, arm64) (push) Has been cancelled
30 lines
663 B
YAML
30 lines
663 B
YAML
name: Go Revive Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main", "master" ]
|
|
pull_request:
|
|
branches: [ "main", "master" ]
|
|
|
|
jobs:
|
|
lint:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
|
with:
|
|
go-version: '1.25'
|
|
|
|
- name: Install revive
|
|
run: go install github.com/mgechev/revive@latest
|
|
|
|
- name: Run revive
|
|
run: |
|
|
revive -config revive.toml -formatter stylish ./...
|