Skip to content

Commit

Permalink
updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kaatinga committed Mar 12, 2024
1 parent f8ea7aa commit b8f5375
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- '**.go'

jobs:
build:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion models_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func TestCrusoe_Get_Int(t *testing.T) {
}()

go func() {
t.Run(fmt.Sprintf("get the last value"), func(t *testing.T) {
t.Run("get the last value", func(t *testing.T) {
cacheValue := crusoe.Get()
if cacheValue != tests[len(tests)-1].value {
t.Errorf("strange value returned: %v", cacheValue)
Expand Down

0 comments on commit b8f5375

Please sign in to comment.