Lindenii Project Forge
Login

server

Lindenii Forge’s main backend daemon
Commit info
ID
af3c2b085b786a760c8bcc25c5c4b9b3c15d6f28
Author
Runxi Yu <me@runxiyu.org>
Author date
Fri, 28 Mar 2025 00:20:45 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Fri, 28 Mar 2025 00:20:45 +0800
Actions
Update CI again
image: alpine/edge
secrets:
  - 1e5bf996-a5ca-4d31-9225-778cf90e3fba
  - cf31947b-6d5d-4229-8ed3-56183102ea81
packages:
  - go
  - hut
  - golangci-lint
  - make
  - gcc
  - musl-dev
tasks:
  - prepare: |
      cd forge
      git checkout go
  - build: |
      cd forge
      make
  - lint: |
      cd forge
      golangci-lint run .
  - upload: |
      cd forge
      x="$(git describe --exact || true)"
      if [ -z "$x" ]; then
      	printf 'Not a tag, not uploading artifacts\n' >&2
      else
      	mv forge forge-"$x"-linux-amd64
      	hut git artifact -r forge upload forge-"$x"-linux-amd64
      fi