Skip to content

Commit

Permalink
feat: redesign config (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: tkrop <[email protected]>
  • Loading branch information
tkrop committed Jan 11, 2024
1 parent 5ae713c commit a101380
Show file tree
Hide file tree
Showing 16 changed files with 231 additions and 2,279 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.21
go-version: 1.21.6

- name: Build and tests
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
LANG: en_US.UTF-8
run: make --file=Makefile.base all
run: make --file=config/Makefile.base all

- name: Send coverage report
uses: shogo82148/actions-goveralls@v1
Expand All @@ -28,11 +28,11 @@ jobs:
GH_TOKEN: ${{ github.token }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |-
make --file=Makefile.base --trace release
make --file=config/Makefile.base --trace release
- name: Publish new version
env:
GH_TOKEN: ${{ github.token }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |-
make --file=Makefile.base --trace publish || true
make --file=config/Makefile.base --trace publish || true
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ else
$(warning warning: please customize variables in Makefile.vars)
endif

#GOBIN := $(CURDIR)/build/bin
#PATH := $(GOBIN):$(PATH)
GOBIN ?= $(shell go env GOPATH)/bin
GOMAKE ?= github.com/tkrop/[email protected].25
GOMAKE ?= github.com/tkrop/[email protected].26
TARGETS := $(shell command -v go-make >/dev/null || \
go install $(GOMAKE) && go-make targets)

Expand Down
Loading

0 comments on commit a101380

Please sign in to comment.