Skip to content

Commit 763a91d

Browse files
Point CI and release workflows at core's shared workflows
Reference the reusable workflows in codefly-dev/core, and route ci.yml through the shared go-service-ci workflow (adds the go.sum drift guard).
1 parent 52a3d00 commit 763a91d

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
name: ci
2+
23
on:
34
push:
45
branches: [ main ]
56
pull_request:
67
branches: [ main ]
8+
79
concurrency:
810
group: ${{ github.workflow }}-${{ github.ref }}
911
cancel-in-progress: true
12+
1013
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-go@v5
16-
with:
17-
go-version-file: 'go.mod'
18-
- name: Build
19-
run: go build ./...
20-
- name: Vet
21-
run: go vet ./...
14+
ci:
15+
uses: codefly-dev/core/.github/workflows/go-service-ci.yml@main

‎.github/workflows/releaser.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ on:
77

88
jobs:
99
release:
10-
uses: codefly-dev/.github/.github/workflows/go-service-release.yml@main
10+
uses: codefly-dev/core/.github/workflows/go-service-release.yml@main
1111
secrets: inherit

0 commit comments

Comments
 (0)