Skip to content

Commit 643b9c7

Browse files
authored
Merge pull request #303 from pjbgf/bookworm
2 parents 6aaf01a + b343008 commit 643b9c7

File tree

11 files changed

+1453
-187
lines changed

11 files changed

+1453
-187
lines changed

.github/actions/run-tests/Dockerfile

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/actions/run-tests/action.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: build
2-
32
on:
43
pull_request:
54
push:
@@ -10,11 +9,15 @@ permissions:
109
contents: read # for actions/checkout to fetch code
1110

1211
jobs:
13-
test:
12+
test-linux-amd64:
1413
runs-on: ubuntu-latest
1514
steps:
1615
- name: checkout
1716
uses: actions/checkout@v2
17+
- name: Setup Go
18+
uses: actions/setup-go@v2
19+
with:
20+
go-version: 1.17.x
1821
- name: Restore go cache
1922
uses: actions/cache@v1
2023
with:
@@ -24,13 +27,6 @@ jobs:
2427
restore-keys: |
2528
${{ runner.os }}-go-
2629
- name: Run tests
27-
uses: ./.github/actions/run-tests
28-
env:
29-
GOPATH: /github/home/go
30-
- name: Check if working tree is dirty
31-
run: |
32-
if [[ $(git diff --stat) != '' ]]; then
33-
git --no-pager diff
34-
echo 'run make test and commit changes'
35-
exit 1
36-
fi
30+
run: make test
31+
- name: Verify
32+
run: make verify

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ testbin
3131

3232
# Exclude all libgit2 related files
3333
hack/libgit2/
34+
build/

0 commit comments

Comments
 (0)