Skip to content

Commit fd49f5c

Browse files
Prachi Shivanand AnurePrachi Shivanand Anure
authored andcommitted
minor changes
1 parent 73272e6 commit fd49f5c

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
common-steps:
16+
build-and-test:
1717
runs-on: ubuntu-latest
18-
outputs:
19-
common-dependencies: ${{ steps.common-steps.outputs.deps }}
2018
permissions:
2119
contents: write # needed to push coverage to gh-pages
2220
pull-requests: write # needed to comment on PRs
2321

24-
write-all: true # necessary for release creation and publishing
22+
strategy:
23+
matrix:
24+
go-version: ["1.24.5"]
25+
fail-fast: false
26+
2527
steps:
2628
- name: Checkout code
2729
uses: actions/checkout@v5
@@ -49,15 +51,9 @@ jobs:
4951
go mod tidy
5052
make deps
5153
52-
build-and-test:
53-
needs: common-steps
54-
runs-on: ubuntu-latest
55-
strategy:
56-
matrix:
57-
go-version: ["1.24.5"]
58-
fail-fast: false
54+
- name: Check code formatting
55+
run: make fmt
5956

60-
steps:
6157
- name: Run unit tests
6258
run: make test
6359

@@ -78,7 +74,8 @@ jobs:
7874
./scripts/publishCoverage.sh
7975
8076
release:
81-
needs: common-steps
77+
needs: build-and-test
78+
permissions: write-all
8279
runs-on: ubuntu-latest
8380

8481
strategy:

0 commit comments

Comments
 (0)