Skip to content

Commit 375dbb3

Browse files
committed
Add daily testing with GitHub Actions
1 parent 8205354 commit 375dbb3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: daily-testing
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-go@v4
13+
with:
14+
go-version-file: './go.mod'
15+
cache-dependency-path: './go.sum'
16+
- name: Run test
17+
run: |
18+
go test github.com/nmemoto/gh-trending/...

0 commit comments

Comments
 (0)