forked from Mirrors/gomuks
Test a runner
Signed-off-by: n <me@everypizza.im>
This commit is contained in:
parent
338c7d9adc
commit
d5666f9f00
1 changed files with 11 additions and 0 deletions
11
.forgeo/workflows
Normal file
11
.forgeo/workflows
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/cascading-pr@v1.0.1
|
||||||
|
with:
|
||||||
|
GOPATH="$CI_PROJECT_DIR/.cache"
|
||||||
|
GOCACHE="$CI_PROJECT_DIR/.cache/build"
|
||||||
|
MAUTRIX_VERSION=$(cat go.mod | grep 'maunium.net/go/mautrix ' | awk '{ print $2 }')
|
||||||
|
GO_LDFLAGS="-s -w -linkmode external -extldflags -static -X go.mau.fi/gomuks/version.Tag=$CI_COMMIT_TAG -X go.mau.fi/gomuks/version.Commit=$CI_COMMIT_SHA -X 'go.mau.fi/gomuks/version.BuildTime=`date -Iseconds`' -X 'maunium.net/go/mautrix.GoModVersion=$MAUTRIX_VERSION'"
|
Loading…
Add table
Reference in a new issue