Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit a724cd6

Browse files
committed
Use Bats
1 parent 07eb8f9 commit a724cd6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/action.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,20 @@ jobs:
1313
name: Go ${{ matrix.go-version }} @ ${{ matrix.os }}
1414
steps:
1515
- uses: actions/checkout@v2
16-
with:
17-
submodules: false
1816
- uses: actions/setup-go@v2
1917
with:
2018
go-version: ${{ matrix.go-version }}
21-
- run: go version
22-
- run: go build -v ./...
23-
- run: go test -v -race ./...
19+
- run: |
20+
go version
21+
go build -v ./...
22+
go test -v -race ./...
2423
- uses: golangci/golangci-lint-action@v2
2524
with:
2625
args: --sort-results --verbose ./...
27-
- run: |
26+
- name: Bats (!= windows-latest)
27+
if: matrix.os != 'windows-latest'
28+
env:
29+
NPM_CONFIG_PREFIX: "~/.npm-global"
30+
run: |
31+
npm install --global bats@1.3.0
32+
~/.npm-global/bin/bats bats/

0 commit comments

Comments
 (0)