mirror of
https://github.com/stashapp/stash.git
synced 2026-04-21 22:41:33 +02:00
* update compiler and build process - assemble cross-builds in multi-build steps - clean up unnecessary dependences - use node docker image instead of nodesource (unsupported) - downgrade to freebsd12 to match compiler Co-authored-by: Gykes <Gykes@pm.me> * [compiler] use new image instead of placeholder removes .gitignore, update README * [CI] lock pnpm action-setup to SHA hash * bump @actions/upload-artifact --------- Co-authored-by: feederbox826 <feederbox826@users.noreply.github.com> Co-authored-by: Gykes <Gykes@pm.me> Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
28 lines
No EOL
614 B
YAML
28 lines
No EOL
614 B
YAML
name: Lint (golangci-lint)
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- develop
|
|
- 'releases/**'
|
|
pull_request:
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# no tags or depth needed for lint
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-go@v6
|
|
|
|
# generate-backend runs natively (just go generate + touch-ui) — no Docker needed
|
|
- name: Generate Backend
|
|
run: make generate-backend
|
|
|
|
## WARN
|
|
## using v1, update in a later PR
|
|
- name: Run golangci-lint
|
|
uses: golangci/golangci-lint-action@v6 |