Fix github action workflows
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
33
.github/workflows/make.yaml
vendored
33
.github/workflows/make.yaml
vendored
@@ -65,22 +65,6 @@ jobs:
|
||||
vuln-type: "os,library"
|
||||
severity: "CRITICAL,HIGH"
|
||||
|
||||
build:
|
||||
name: "build"
|
||||
runs-on: "ubuntu-22.04"
|
||||
permissions:
|
||||
contents: "read"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- uses: "actions/setup-go@v5"
|
||||
with:
|
||||
go-version: "1.24"
|
||||
- uses: "actions/setup-node@v4"
|
||||
with:
|
||||
node-version: 22
|
||||
- run: "npm ci"
|
||||
- run: "make build"
|
||||
|
||||
test:
|
||||
name: "test"
|
||||
runs-on: "ubuntu-22.04"
|
||||
@@ -95,6 +79,7 @@ jobs:
|
||||
with:
|
||||
node-version: 22
|
||||
- run: "npm ci"
|
||||
- run: "make build"
|
||||
- run: "make test"
|
||||
- run: "make coverage-report"
|
||||
- name: "Upload coverage reports"
|
||||
@@ -105,19 +90,5 @@ jobs:
|
||||
coverage.out
|
||||
coverage.html
|
||||
retention-days: 30
|
||||
|
||||
lint:
|
||||
name: "lint"
|
||||
runs-on: "ubuntu-22.04"
|
||||
permissions:
|
||||
contents: "read"
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- uses: "actions/setup-go@v5"
|
||||
with:
|
||||
go-version: "1.24"
|
||||
- uses: "actions/setup-node@v4"
|
||||
with:
|
||||
node-version: 22
|
||||
- run: "npm ci"
|
||||
- run: "make lint"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user