Files
Reticulum-Go/.gitea/workflows/revive.yml
Sudo-Ivan 48f8288577
Some checks failed
Bearer / scan (push) Failing after 35s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 37s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 37s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 33s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 31s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 30s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 32s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 33s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 32s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 30s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 47s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 39s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 48s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Revive Lint / lint (push) Successful in 1m5s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m42s
Run Gosec / tests (push) Successful in 1m12s
Update revive installation in CI workflow to use the latest version from GitHub
2025-12-29 22:22:01 -06:00

34 lines
811 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: https://git.quad4.io/actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Go
uses: https://git.quad4.io/actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: '1.25'
- name: Setup Task
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
with:
version: '3.46.3'
- name: Install revive
run: go install github.com/mgechev/revive@latest
- name: Run lint
run: task lint