Hi… I am well aware that this diff view is very suboptimal. It will be fixed when the refactored server comes along!
Attempt to fix CI
image: alpine/edge secrets:
- 354867a0-91a5-4404-ab08-6a875e3ea941
- 1e5bf996-a5ca-4d31-9225-778cf90e3fba
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