From ce632e6a12dbfcaf12e6d325245f31bd86d03522 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Thu, 10 Oct 2024 14:48:07 +1100 Subject: [PATCH 1/3] init --- .github/workflows/ci.yml | 8 ++++++-- .github/workflows/goreleaser.yml | 9 +++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/goreleaser.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09e14700a..99413dd6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.6.0 secrets: inherit with: run-unit-tests: true run-integration-tests: false run-lint: true + + changelog_reminder: + uses: babylonlabs-io/.github/.github/workflows/reusable_changelog_reminder.yml@main + 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.6.0 secrets: inherit with: publish: false diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml new file mode 100644 index 000000000..e6e91f9df --- /dev/null +++ b/.github/workflows/goreleaser.yml @@ -0,0 +1,9 @@ +on: + push: + tags: + - '*' + +jobs: + release: + uses: babylonlabs-io/.github/.github/workflows/reusable_go_releaser.yml@main + secrets: inherit \ No newline at end of file From 50454f9070de5d224a80b512fe52be4f3619d2f7 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Thu, 10 Oct 2024 14:53:53 +1100 Subject: [PATCH 2/3] bump --- .github/workflows/ci.yml | 6 +++--- .github/workflows/goreleaser.yml | 2 +- .github/workflows/publish.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99413dd6f..20e7e5c14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ concurrency: jobs: lint_test: - uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.6.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0 secrets: inherit with: run-unit-tests: true @@ -19,11 +19,11 @@ jobs: run-lint: true changelog_reminder: - uses: babylonlabs-io/.github/.github/workflows/reusable_changelog_reminder.yml@main + uses: babylonlabs-io/.github/.github/workflows/reusable_changelog_reminder.yml@v0.7.0 secrets: inherit docker_pipeline: - uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.6.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0 secrets: inherit with: publish: false diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index e6e91f9df..0a836a8e7 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -5,5 +5,5 @@ on: jobs: release: - uses: babylonlabs-io/.github/.github/workflows/reusable_go_releaser.yml@main + uses: babylonlabs-io/.github/.github/workflows/reusable_go_releaser.yml@v0.7.0 secrets: inherit \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f5d901cb..f6d384b74 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ 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 @@ -18,7 +18,7 @@ jobs: 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: From a68529c51c7e82b19b5d8ccc64ac6b05ee244111 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Thu, 10 Oct 2024 15:14:23 +1100 Subject: [PATCH 3/3] fix goreleaser name --- .github/workflows/goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 0a836a8e7..7e304dcc7 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -1,3 +1,5 @@ +name: goreleaser + on: push: tags: