Skip to content

Commit

Permalink
ci: add Github actions for changelog reminder and goreleaser (#155)
Browse files Browse the repository at this point in the history
Resolves #110 

This PR adds Github actions for changelog reminder and goreleaser. Also
this PR bumps the dependency of babylonlabs-io/.github to v0.7.0

TODOs before merging:

- [x] wait until v0.7.0 tag of https://github.com/babylonlabs-io/.github
- [x] apply v0.7.0 to all reusable workflows
  • Loading branch information
SebastianElvis authored Oct 10, 2024
1 parent e4a655b commit ea1b174
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@ concurrency:

jobs:
lint_test:
uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.5.0
uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0
secrets: inherit
with:
run-unit-tests: true
run-integration-tests: false
run-lint: true

changelog_reminder:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
secrets: inherit

docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.5.0
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0
secrets: inherit
with:
publish: false
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: goreleaser

on:
push:
tags:
- '*'

jobs:
release:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:

jobs:
lint_test:
uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.5.0
uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0
secrets: inherit
with:
run-unit-tests: true
run-integration-tests: false
run-lint: true

docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.5.0
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0
needs: ["lint_test"]
secrets: inherit
with:
Expand Down

0 comments on commit ea1b174

Please sign in to comment.