Skip to content

Commit 843edc1

Browse files
committed
update github actions
1 parent 80e6439 commit 843edc1

File tree

4 files changed

+9
-43
lines changed

4 files changed

+9
-43
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,15 @@ on:
77
- dev
88

99
jobs:
10-
lint:
11-
runs-on: ubuntu-latest
12-
container: node:14.16-slim
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
17-
- name: Install Dependencies
18-
run: npm ci
19-
20-
- name: Lint
21-
run: npm run lint
22-
2310
test:
2411
runs-on: ubuntu-latest
25-
container: node:14.16-slim
12+
container: golang:1-alpine
2613

2714
steps:
2815
- uses: actions/checkout@v2
2916

3017
- name: Install Dependencies
31-
run: npm ci
18+
run: go mod download
3219

3320
- name: Lint
34-
run: npm run test
21+
run: go test ./... -v

.github/workflows/publish.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/test-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
run-tests:
1010
name: Run tests
1111
runs-on: ubuntu-latest
12-
container: node:14.16-slim
12+
container: golang:1-alpine
1313

1414
steps:
1515
- uses: actions/checkout@v2
1616

1717
- name: Install Dependencies
18-
run: npm ci
18+
run: go mod download
1919

2020
- name: Run Tests
21-
run: npm run test
21+
run: go test ./... -v

.github/workflows/test-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
run-tests:
1010
name: Run tests on master
1111
runs-on: ubuntu-latest
12-
container: node:14.16-slim
12+
container: golang:1-alpine
1313

1414
steps:
1515
- uses: actions/checkout@v2
1616

1717
- name: Install Dependencies
18-
run: npm ci
18+
run: go mod download
1919

2020
- name: Run Tests
21-
run: npm run test
21+
run: go test ./... -v

0 commit comments

Comments
 (0)