Skip to content

Commit 9f03f9e

Browse files
ci: update upload-artifact and download-artifact actions to v4 (#4063)
- **PR Description** v3 of `actions/upload-artifact` and `actions/download-artifact` will be fully deprecated by **5 December 2024**. Jobs that are scheduled to run during the brownout periods will also fail. See: 1. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ 2. https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/ - **Please check if the PR fulfills these requirements** * [x] Cheatsheets are up-to-date (run `go generate ./...`) * [x] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) * [ ] Tests have been added/updated (see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md) for the integration test guide) * [ ] Text is internationalised (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#internationalisation)) * [ ] If a new UserConfig entry was added, make sure it can be hot-reloaded (see [here](https://github.com/jesseduffield/lazygit/blob/master/docs/dev/Codebase_Guide.md#using-userconfig)) * [ ] Docs have been updated if necessary * [x] You've read through your own file changes for silly mistakes etc <!-- Be sure to name your PR with an imperative e.g. 'Add worktrees view' see https://github.com/jesseduffield/lazygit/releases/tag/v0.40.0 for examples -->
2 parents e1e4e1b + 181b00b commit 9f03f9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
mkdir -p /tmp/code_coverage
4040
go test ./... -short -cover -args "-test.gocoverdir=/tmp/code_coverage"
4141
- name: Upload code coverage artifacts
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: coverage-unit-${{ matrix.os }}-${{ github.run_id }}
4545
path: /tmp/code_coverage
@@ -100,7 +100,7 @@ jobs:
100100
mkdir -p /tmp/code_coverage
101101
./scripts/run_integration_tests.sh
102102
- name: Upload code coverage artifacts
103-
uses: actions/upload-artifact@v3
103+
uses: actions/upload-artifact@v4
104104
with:
105105
name: coverage-integration-${{ matrix.git-version }}-${{ github.run_id }}
106106
path: /tmp/code_coverage
@@ -200,7 +200,7 @@ jobs:
200200
go-version: 1.22.x
201201

202202
- name: Download all coverage artifacts
203-
uses: actions/download-artifact@v3
203+
uses: actions/download-artifact@v4
204204
with:
205205
path: /tmp/code_coverage
206206

0 commit comments

Comments
 (0)