Skip to content

Commit 44f5ff1

Browse files
chore(deps): bump github.com/bluekeyes/go-gitdiff from 0.7.2 to 0.7.3 (#238)
* chore(deps): bump github.com/bluekeyes/go-gitdiff from 0.7.2 to 0.7.3 Bumps [github.com/bluekeyes/go-gitdiff](https://github.com/bluekeyes/go-gitdiff) from 0.7.2 to 0.7.3. - [Release notes](https://github.com/bluekeyes/go-gitdiff/releases) - [Commits](bluekeyes/go-gitdiff@v0.7.2...v0.7.3) --- updated-dependencies: - dependency-name: github.com/bluekeyes/go-gitdiff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update golangci-lint-action version and simplify cache skipping Updated the version of golangci/golangci-lint-action used in GitHub Actions CI workflow from v3 to v6. Also, replaced the skip-build-cache and skip-pkg-cache options with the simpler skip-cache option. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Davide Petilli <davide@petilli.me>
1 parent 2e26f23 commit 44f5ff1

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ jobs:
1010
name: Validate source code with linters
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Set up Go
15-
uses: actions/setup-go@v3
15+
uses: actions/setup-go@v5
1616
with:
1717
go-version-file: 'go.mod'
1818
- name: Run lint
19-
uses: golangci/golangci-lint-action@v3
19+
uses: golangci/golangci-lint-action@v6
2020
with:
2121
version: latest
22-
skip-build-cache: true
23-
skip-pkg-cache: true
22+
skip-cache: true
2423

2524
test:
2625
name: Run the tests suite
@@ -30,9 +29,9 @@ jobs:
3029
matrix:
3130
os: [ ubuntu-latest, macOS-latest, windows-latest ]
3231
steps:
33-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3433
- name: Set up Go
35-
uses: actions/setup-go@v3
34+
uses: actions/setup-go@v5
3635
with:
3736
go-version-file: 'go.mod'
3837
- name: Run tests with coverage

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/MakeNowJust/heredoc v1.0.0
7-
github.com/bluekeyes/go-gitdiff v0.7.2
7+
github.com/bluekeyes/go-gitdiff v0.7.3
88
github.com/fatih/color v1.17.0
99
github.com/google/go-cmp v0.6.0
1010
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ=
22
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
3-
github.com/bluekeyes/go-gitdiff v0.7.2 h1:42jrcVZdjjxXtVsFNYTo/I6T1ZvIiQL+iDDLiH904hw=
4-
github.com/bluekeyes/go-gitdiff v0.7.2/go.mod h1:QpfYYO1E0fTVHVZAZKiRjtSGY9823iCdvGXBcEzHGbM=
3+
github.com/bluekeyes/go-gitdiff v0.7.3 h1:SElKwtm/IQPOwKs0vdowW5uAlip+P+jatagmUU8E0r4=
4+
github.com/bluekeyes/go-gitdiff v0.7.3/go.mod h1:QpfYYO1E0fTVHVZAZKiRjtSGY9823iCdvGXBcEzHGbM=
55
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
66
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
77
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

internal/engine/tokenmutator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022 The Gremlins Authors
2+
* Copyright 2024 The Gremlins Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ func TestMutantApplyAndRollback(t *testing.T) {
4141
filePath := "sourceFile.go"
4242
fileFullPath := filepath.Join(workdir, filePath)
4343

44-
err := os.WriteFile(fileFullPath, []byte(rollbackWant), os.ModePerm)
44+
err := os.WriteFile(fileFullPath, []byte(rollbackWant), 0600)
4545
if err != nil {
4646
t.Fatal(err)
4747
}

0 commit comments

Comments
 (0)