Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution #701

Merged
merged 3 commits into from Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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