Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -49,12 +49,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -79,15 +79,15 @@ jobs:
go tool cover -html=coverage.out -o coverage.html

- name: Upload coverage report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: |
coverage.out
coverage.html

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
uses: mikepenz/action-junit-report@v6
if: always()
with:
report_paths: '**/unit-tests.xml'
Expand All @@ -104,12 +104,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -122,7 +122,7 @@ jobs:
run: gotestsum --format pkgname --junitfile unit-tests.xml -- ./...

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
uses: mikepenz/action-junit-report@v6
if: always()
with:
report_paths: '**/unit-tests.xml'
Expand All @@ -149,7 +149,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:

- name: Set up Go
if: steps.filter.outputs.run_stage == 'true'
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: true
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:

- name: Set up Go
if: steps.filter.outputs.run_benchmarks == 'true'
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0 # Required by GoReleaser to determine changes and tags
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
cache: false
Expand All @@ -41,7 +41,7 @@ jobs:
echo "**Full Changelog**: https://github.com/HarshK97/diffmantic/blob/main/CHANGELOG.md" >> /tmp/RELEASE_NOTES.md

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: v2.16.0
Expand Down
Loading