Skip to content

Commit

Permalink
Update technote-space/get-diff-action requirement to v4 (#7510)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2020
1 parent 0f70b88 commit d7ad658
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 121 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
timeout-minutes: 6
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
- uses: technote-space/get-diff-action@v4
with:
SUFFIX_FILTER: |
.go
.mod
.sum
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@master
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.28
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
52 changes: 25 additions & 27 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,21 @@ jobs:
go-version: 1.15
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v3
- uses: technote-space/get-diff-action@v4
with:
SUFFIX_FILTER: |
.go
.mod
.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
- name: test-sim-nondeterminism
run: |
make test-sim-nondeterminism
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF

test-sim-import-export:
runs-on: ubuntu-latest
Expand All @@ -82,23 +80,23 @@ jobs:
go-version: 1.15
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v3
- uses: technote-space/get-diff-action@v4
with:
SUFFIX_FILTER: |
.go
.mod
.sum
**/**.go
go.mod
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
- name: test-sim-import-export
run: |
make test-sim-import-export
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF

test-sim-after-import:
runs-on: ubuntu-latest
Expand All @@ -110,23 +108,23 @@ jobs:
go-version: 1.15
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v3
- uses: technote-space/get-diff-action@v4
with:
SUFFIX_FILTER: |
.go
.mod
.sum
**/**.go
go.mod
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
- name: test-sim-after-import
run: |
make test-sim-after-import
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF

test-sim-multi-seed-short:
runs-on: ubuntu-latest
Expand All @@ -138,20 +136,20 @@ jobs:
go-version: 1.15
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v3
- uses: technote-space/get-diff-action@v4
with:
SUFFIX_FILTER: |
.go
.mod
.sum
**/**.go
go.mod
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
- name: test-sim-multi-seed-short
run: |
make test-sim-multi-seed-short
if: "env.GIT_DIFF != ''"
if: env.GIT_DIFF
Loading

0 comments on commit d7ad658

Please sign in to comment.