Skip to content

Commit a7a2d88

Browse files
committed
Replace standard GHA workflows with reusables
Signed-off-by: Eric Ball <[email protected]>
1 parent d6fdd10 commit a7a2d88

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/master.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@ jobs:
2020
run: go build github.com/onosproject/onos-control/pkg/...
2121

2222
lint:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- uses: actions/checkout@v4
26-
- uses: actions/setup-go@v5
27-
with:
28-
go-version-file: 'go.mod'
29-
- uses: golangci/[email protected]
30-
with:
31-
version: latest
32-
args: -v --config ./.golangci.yml
23+
uses: onosproject/.github/.github/workflows/go-lint.yml@main
3324

3425
unit-tests:
3526
runs-on: ubuntu-latest
@@ -42,17 +33,7 @@ jobs:
4233
run: go test -race github.com/onosproject/onos-control/pkg/...
4334

4435
license-check:
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v4
48-
- name: reuse lint
49-
uses: fsfe/reuse-action@v4
36+
uses: onosproject/.github/.github/workflows/license-check.yml@main
5037

5138
fossa-check:
52-
runs-on: ubuntu-latest
53-
steps:
54-
- uses: actions/checkout@v4
55-
- name: FOSSA scan
56-
uses: fossa-contrib/fossa-action@v3
57-
with:
58-
fossa-api-key: 6d304c09a3ec097ba4517724e4a4d17d
39+
uses: onosproject/.github/.github/workflows/fossa-scan.yml@main

0 commit comments

Comments
 (0)