Skip to content

Commit

Permalink
Update CI actions/checkout@v4 (#3208)
Browse files Browse the repository at this point in the history
<!--
Open the PR up as a draft until you feel it is ready for a proper
review.

Do not make PR:s from your own `main` branch, as that makes it difficult
for reviewers to add their own fixes.

Add any improvements to the branch as new commits to make it easier for
reviewers to follow the progress. All commits will be squashed to a
single commit once the PR is merged into `main`.

Make sure you mention any issues that this PR closes in the description,
as well as any other related issues.

To get an auto-generated PR description you can put "copilot:summary" or
"copilot:walkthrough" anywhere.
-->

### What

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/3208) (if
applicable)

- [PR Build Summary](https://build.rerun.io/pr/3208)
- [Docs
preview](https://rerun.io/preview/1b0c746e065a928e18eb5eea273305443bbc2a36/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/1b0c746e065a928e18eb5eea273305443bbc2a36/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
  • Loading branch information
jprochazk authored Sep 5, 2023
1 parent 160da26 commit 6b252aa
Show file tree
Hide file tree
Showing 23 changed files with 42 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v2
with:
config: "docs/cspell.json"
Expand All @@ -23,7 +23,7 @@ jobs:
name: linkinator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jprochazk/linkinator-action@main
with:
paths: "docs/**/*.md"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
short-sha: ${{ steps.get-short-sha.outputs.short-sha }}
full-sha: ${{ steps.get-full-sha.outputs.full-sha }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Set short-sha"
id: get-short-sha
run: |
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Don't do a shallow clone since we need it for finding the full commit hash

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.version.outputs.release-commit }}

Expand All @@ -222,7 +222,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable_bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
image: rerunio/ci_docker:0.9

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down Expand Up @@ -148,3 +148,4 @@ jobs:
with:
path: /tmp/${{ inputs.BENCH_NAME }}
destination: "rerun-builds/benches/"

2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_and_publish_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
needs: [get-commit-sha]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.release-commit }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_and_publish_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Don't do a shallow clone since we need it for finding the full commit hash
ref: ${{ inputs.release-commit }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_and_test_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
JOB_CONTEXT: ${{ toJson(job) }}
INPUTS_CONTEXT: ${{ toJson(inputs) }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.RELEASE_COMMIT || github.sha }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable_build_and_upload_rerun_c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
JOB_CONTEXT: ${{ toJson(job) }}
INPUTS_CONTEXT: ${{ toJson(inputs) }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down Expand Up @@ -195,3 +195,4 @@ jobs:
path: "./target/release/${{ needs.set-config.outputs.LIB_NAME }}"
destination: "rerun-builds/adhoc/${{inputs.ADHOC_NAME}}/rerun_c/${{ inputs.PLATFORM }}"
parent: false

2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
image: rerunio/ci_docker:0.9

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable_build_web_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
image: rerunio/ci_docker:0.9

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download Web Viewer
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -96,3 +96,4 @@ jobs:
with:
name: web_demo
path: web_demo

20 changes: 10 additions & 10 deletions .github/workflows/reusable_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
name: Python lints (black, mypy, flake8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
name: Test Python Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
env:
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
env:
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
name: Lint TOML files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install taplo-cli
uses: taiki-e/install-action@v2
Expand All @@ -243,7 +243,7 @@ jobs:
name: Rerun lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check spelling of entire workspace
uses: crate-ci/typos@master
Expand All @@ -286,7 +286,7 @@ jobs:
container:
image: rerunio/ci_docker:0.9
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cargo Deny
shell: bash
Expand All @@ -299,7 +299,7 @@ jobs:
name: C++ formatting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run clang format on all relevant files
uses: jidicula/clang-format-action@v4.11.0
Expand All @@ -316,7 +316,7 @@ jobs:
env:
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/setup-rust
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
name: Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Don't do a shallow clone
ref: ${{ inputs.RELEASE_COMMIT || github.sha }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
JOB_CONTEXT: ${{ toJson(job) }}
INPUTS_CONTEXT: ${{ toJson(inputs) }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Don't do a shallow clone since we need to push gh-pages
ref: ${{ inputs.RELEASE_COMMIT || github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_pip_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.COMMIT || github.sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_pr_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.RELEASE_COMMIT || github.sha }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable_run_notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
image: rerunio/ci_docker:0.9

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download Wheel
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -79,3 +79,4 @@ jobs:
path: "/tmp/cube.html"
destination: "rerun-builds/commit/${{env.SHORT_SHA}}/notebooks"
parent: false

2 changes: 1 addition & 1 deletion .github/workflows/reusable_track_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: "Track Sizes"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get context
id: context
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_update_pr_body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_upload_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download RRD
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_upload_web_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download web demo assets
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_upload_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
JOB_CONTEXT: ${{ toJson(job) }}
INPUTS_CONTEXT: ${{ toJson(inputs) }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.RELEASE_COMMIT || github.sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weekly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand Down

0 comments on commit 6b252aa

Please sign in to comment.