File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 # Run on push for branches in this repo, and on pull_request only for forks.
88 if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.repository != github.event.pull_request.head.repo.full_name)
99 steps :
10+ - uses : actions/checkout@v7
1011 - uses : actions/setup-go@v7
1112 with :
12- go-version : 1.26.x
13+ go-version-file : GO_VERSION
1314 - uses : actions/setup-node@v7
1415 with :
1516 node-version : ' 24'
16- - uses : actions/checkout@v7
1717 - run : (cd ui && yarn)
1818 - run : make build-js
1919 - uses : golangci/golangci-lint-action@v9
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ LICENSE_DIR=./licenses/
22BUILD_DIR =./build
33DOCKER_DIR =./docker/
44SHELL := /bin/bash
5- GO_VERSION =$(shell go mod edit -json | jq -r .Toolchain | sed -e 's/go//' )
5+ GO_VERSION =$(shell cat GO_VERSION )
66DOCKER_BUILD_IMAGE =docker.io/gotify/build
77DOCKER_WORKDIR =/proj
88DOCKER_RUN =docker run --rm -e LD_FLAGS="$$LD_FLAGS" -v "$$PWD/.:${DOCKER_WORKDIR}" -v "` go env GOPATH ` /pkg/mod/.:/go/pkg/mod:ro" -w ${DOCKER_WORKDIR}
Original file line number Diff line number Diff line change 3232 "autoReplaceStringTemplate" : " {{{newValue}}}" ,
3333 "datasourceTemplate" : " docker" ,
3434 "versioningTemplate" : " docker"
35- },
36- {
37- "customType" : " regex" ,
38- "managerFilePatterns" : [
39- " /^go.mod$/"
40- ],
41- "depTypeTemplate" : " language" ,
42- "matchStrings" : [
43- " toolchain go(?<currentValue>[0-9.]+)\\ n"
44- ],
45- "extractVersionTemplate" : " ^(?<version>.+)-linux-amd64$" ,
46- "depNameTemplate" : " docker.io/gotify/build" ,
47- "autoReplaceStringTemplate" : " toolchain go{{{newValue}}}\n " ,
48- "datasourceTemplate" : " docker" ,
49- "versioningTemplate" : " docker"
5035 }
5136 ],
5237 "ignoreDeps" : [
You can’t perform that action at this time.
0 commit comments