Skip to content

Commit

Permalink
fix warnings about deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Dec 8, 2023
1 parent 7206324 commit 2e1c393
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
matrix:
version: [1.13, 1.15, 1.16]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout code
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout client specifications
with:
repository: Unleash/client-specification
ref: refs/tags/v5.1.0
path: testdata/client-specification
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
name: Setup go
with:
go-version: ${{ matrix.version }}
Expand Down
3 changes: 2 additions & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ func TestClientWithoutListener(t *testing.T) {
}()
<-client.Registered()
<-client.Ready()
client.Close()
err = client.Close()
assert.Nil(err)
assert.True(gock.IsDone(), "there should be no more mocks")
}

Expand Down

0 comments on commit 2e1c393

Please sign in to comment.