forked from djherbis/times
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (38 loc) · 947 Bytes
/
go-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: go test
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: '0 17 * * 1' # https://crontab.guru/#0_17_*_*_1
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
js: [false]
include:
- os: ubuntu-latest
js: true
steps:
- id: go-test
uses: djherbis/actions/go-test@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coveralls_parallel: true
if: ${{ !matrix.js }}
- id: go-test-js
uses: djherbis/actions/go-test-js@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coveralls_parallel: true
if: ${{ matrix.js }}
finish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true