Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modernize goreleaser config and action #3

Merged
merged 3 commits into from
Dec 19, 2023
Merged

modernize goreleaser config and action #3

merged 3 commits into from
Dec 19, 2023

Conversation

lufia
Copy link
Member

@lufia lufia commented Dec 15, 2023

I fixed two deprecation errors.

  • --rm-dist option
  • archives.replacements option in .goreleaser.yaml

@lufia lufia force-pushed the fix-gr branch 2 times, most recently from 2e45eb9 to 1416ed6 Compare December 15, 2023 10:27
@@ -11,7 +11,7 @@ BUILD_LDFLAGS := "-X main.revision=$(GIT_REVISION)"

SOURCES = $(shell find . -type f -name '*.go')

all: test $(OUTPUT_DIR)/$(NAME)
all: $(OUTPUT_DIR)/$(NAME)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dockerfile executes make all with specifying NAME variable:

RUN make NAME=mackerel-sql-metric-collector

build workflow runs after test workflow so it do not need to run go test on building the docker image.

build:
needs:
- test

Copy link
Member

@ne-sachirou ne-sachirou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙆‍♀️

@lufia lufia merged commit 8888d0a into main Dec 19, 2023
4 checks passed
@lufia lufia deleted the fix-gr branch December 19, 2023 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants