Skip to content

Commit

Permalink
Merge pull request #701 from pjbgf/build
Browse files Browse the repository at this point in the history
ci: Bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution
  • Loading branch information
pjbgf committed Mar 6, 2023
2 parents 7e345bb + eddd209 commit 6a70ceb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/git.yml
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install build dependencies
run: sudo apt-get install gettext
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Configure known hosts
if: matrix.platform != 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -27,7 +27,7 @@ build-git:

test:
@echo "running against `git version`"; \
$(GOTEST) ./...
$(GOTEST) -race ./...

test-coverage:
@echo "running against `git version`"; \
Expand Down
2 changes: 1 addition & 1 deletion worktree_test.go
Expand Up @@ -259,7 +259,7 @@ func (s *RepositorySuite) TestPullAdd(c *C) {
ExecuteOnPath(c, path,
"touch foo",
"git add foo",
"git commit -m foo foo",
"git commit --no-gpg-sign -m foo foo",
)

w, err := r.Worktree()
Expand Down

0 comments on commit 6a70ceb

Please sign in to comment.