Skip to content

Commit

Permalink
fix gha, test tweak for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
ripexz committed Sep 5, 2023
1 parent fec0d64 commit bf03225
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Lint
uses: golangci/golangci-lint-action@v3
Expand All @@ -19,7 +19,7 @@ jobs:
env:
GORACE: history_size=4
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion ioutilx/copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func TestCopyTree(t *testing.T) {
})
t.Run("permission", func(t *testing.T) {
err := CopyTree("test", "/cant/write/here", nil)
if !test.ErrorContains(err, "permission denied") {
if !test.ErrorContains(err, "permission denied") && !test.ErrorContains(err, "read-only file system") {
t.Error(err)
}
})
Expand Down

0 comments on commit bf03225

Please sign in to comment.