Skip to content

Commit e319edb

Browse files
committed
ci: Various things
* Add github-actions dependabot config * Remove cron schedule * Explicitly test on Go 1.19
1 parent 38ad8af commit e319edb

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 2
22
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
37
- package-ecosystem: gomod
48
directory: /
59
schedule:
6-
interval: daily
10+
interval: monthly

.github/workflows/main.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,23 @@ name: CI
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
6-
schedule:
7-
- cron: '0 0 * * 1' # weekly
8+
branches:
9+
- main
10+
811

912
jobs:
1013
test:
1114
runs-on: ubuntu-latest
15+
1216
steps:
13-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-go@v3
19+
with:
20+
go-version: '1.19'
21+
1422
- name: Get dependencies
1523
run: go get -v -t -d ./...
1624
- name: go build

0 commit comments

Comments
 (0)