Skip to content

Commit 3f0fe15

Browse files
committed
Re-use shared workflow
1 parent 8553028 commit 3f0fe15

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,5 @@ on:
77
branches:
88
- main
99
jobs:
10-
lint:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v5
14-
- uses: golangci/golangci-lint-action@v8
15-
test:
16-
needs: lint
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: actions/checkout@v5
20-
- uses: actions/setup-go@v6
21-
with:
22-
go-version-file: ./go.mod
23-
cache-dependency-path: ./go.sum
24-
- run: go test ./...
10+
reuse:
11+
uses: bsm/misc/github/workflows/test-go.yaml@main

0 commit comments

Comments
 (0)