mirror of
https://github.com/stashapp/stash.git
synced 2026-05-06 19:42:25 +02:00
* Bump go version in go.mod * Update compiler image. Changed github download url since existing one didn't have version 12 of the SDK. * Update macOS requirements in README for v0.32.0 * Update lint action * Bump golangci-lint version * Migrate golangci-lint config * Fix QF1012 errors (Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...))) * Fix QF1003 errors (could use tagged switch) * Fix ST1005 errors (error string capitalisation) * Fix ST1011 errors (seconds suffix) * Fix QF1006 errors (lift into loop condition) * Fix QF1002 errors (switch condition) * Fix gocritic error (deprecated paragraph) * Fix incorrect nolint directive * Ignore specific checks noctx should be addressed in a later PR --------- Co-authored-by: DogmaDragon <103123951+DogmaDragon@users.noreply.github.com> Co-authored-by: feederbox826 <me@feederbox.cc>
28 lines
No EOL
717 B
YAML
28 lines
No EOL
717 B
YAML
name: Compiler Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
COMPILER_IMAGE: ghcr.io/stashapp/compiler:14
|
|
|
|
jobs:
|
|
build-compiler:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: docker/setup-buildx-action@v3
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
context: "{{defaultContext}}:docker/compiler"
|
|
tags: |
|
|
${{ env.COMPILER_IMAGE }}
|
|
ghcr.io/stashapp/compiler:latest
|
|
cache-from: type=gha,scope=all,mode=max
|
|
cache-to: type=gha,scope=all,mode=max |