diff options
author | Javier Romero <root@jromero.codes> | 2020-09-29 22:39:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 22:39:45 +0200 |
commit | 729adec5e52eb8bf83fb3ea1cc0d1b510350e09e (patch) | |
tree | e04182eba287cbf06baaf47526715074ee7dd85a /Makefile | |
parent | Fix test target (#375) (diff) | |
download | forgejo-act-729adec5e52eb8bf83fb3ea1cc0d1b510350e09e.tar.xz forgejo-act-729adec5e52eb8bf83fb3ea1cc0d1b510350e09e.zip |
Fix path for local node12 actions (#371)
Fixes #185
Signed-off-by: Javier Romero <root@jromero.codes>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,12 +7,16 @@ PATCH_VERSION = $(word 3, $(subst ., ,$(word 1,$(subst -, , $(VERSION))))) NEW_VERSION ?= $(MAJOR_VERSION).$(MINOR_VERSION).$(shell echo $$(( $(PATCH_VERSION) + 1)) ) ACT ?= go run main.go -export GITHUB_TOKEN = $(shell cat ~/.config/github/token) +export GITHUB_TOKEN := $(shell cat ~/.config/github/token) .PHONY: build build: go build -ldflags "-X main.version=$(VERSION)" -o dist/local/act main.go +.PHONY: format +format: + go fmt ./... + .PHONY: test test: go test ./... |