Skip to content

Commit 776c078

Browse files
committed
Run test in CI
1 parent d3a5439 commit 776c078

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
8+
9+
permissions:
10+
id-token: write # for setup-goproxy
11+
contents: read
12+
packages: read
13+
14+
jobs:
15+
build-and-test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Build and test
19+
run: |
20+
go build
21+
go test -v ./...

0 commit comments

Comments
 (0)