Skip to content

Commit 8116408

Browse files
authored
Merge pull request #6 from LastStep/worktree-agent-a8f6a448
ci: add pull request CI workflow
2 parents 903b337 + d5eef61 commit 8116408

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version-file: go.mod
20+
21+
- name: Run tests
22+
run: go test ./...
23+
24+
- name: Run vet
25+
run: go vet ./...

0 commit comments

Comments
 (0)