Browse Source

chore(deps): update actions/checkout action to v4 (#1140)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
remotes/origin/fix-insecure-world-writable-dir
renovate[bot] 9 months ago committed by GitHub
parent
commit
473c5c4dfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/debug.yml
  2. 4
      .github/workflows/installation_script.yml
  3. 2
      .github/workflows/release.yml
  4. 22
      .github/workflows/rust.yml

2
.github/workflows/debug.yml

@ -12,7 +12,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
name: "e2e/windows/debug" name: "e2e/windows/debug"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
ref: ${{ github.event.inputs.commit_hash }} ref: ${{ github.event.inputs.commit_hash }}
- name: Download artifact - name: Download artifact

4
.github/workflows/installation_script.yml

@ -22,7 +22,7 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
id: qemu id: qemu
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run installation script in Docker - name: Run installation script in Docker
run: | run: |
docker run --rm -v $(pwd):$(pwd) -e "RUST_LOG=fnm=debug" --workdir $(pwd) ${{matrix.docker_image}} bash -c ' docker run --rm -v $(pwd):$(pwd) -e "RUST_LOG=fnm=debug" --workdir $(pwd) ${{matrix.docker_image}} bash -c '
@ -62,7 +62,7 @@ jobs:
script_arguments: '--force-no-brew' script_arguments: '--force-no-brew'
runs-on: ${{ matrix.setup.os }}-latest runs-on: ${{ matrix.setup.os }}-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: "sudo apt-get install -y ${{ matrix.shell }}" - run: "sudo apt-get install -y ${{ matrix.shell }}"
name: Install ${{matrix.shell}} using apt-get name: Install ${{matrix.shell}} using apt-get
if: matrix.setup.os == 'ubuntu' if: matrix.setup.os == 'ubuntu'

2
.github/workflows/release.yml

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# set up # set up
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@v1 - uses: hecrj/setup-rust-action@v1
with: with:

22
.github/workflows/rust.yml

@ -21,7 +21,7 @@ jobs:
with: with:
rust-version: ${{env.RUST_VERSION}} rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: cargo fmt - name: cargo fmt
run: cargo fmt -- --check run: cargo fmt -- --check
@ -32,7 +32,7 @@ jobs:
with: with:
rust-version: ${{env.RUST_VERSION}} rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: cargo clippy - name: cargo clippy
run: cargo clippy -- -D warnings run: cargo clippy -- -D warnings
@ -46,7 +46,7 @@ jobs:
with: with:
rust-version: ${{env.RUST_VERSION}} rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run tests - name: Run tests
run: cargo test run: cargo test
@ -58,7 +58,7 @@ jobs:
with: with:
rust-version: ${{env.RUST_VERSION}} rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release
env: env:
@ -76,7 +76,7 @@ jobs:
with: with:
rust-version: ${{env.RUST_VERSION}} rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release
env: env:
@ -97,7 +97,7 @@ jobs:
steps: steps:
- name: install necessary shells - name: install necessary shells
run: brew install fish zsh bash run: brew install fish zsh bash
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: fnm-macos name: fnm-macos
@ -133,7 +133,7 @@ jobs:
needs: [build_release] needs: [build_release]
name: "e2e/windows" name: "e2e/windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: fnm-windows name: fnm-windows
@ -203,7 +203,7 @@ jobs:
steps: steps:
- name: install necessary shells - name: install necessary shells
run: sudo apt-get update && sudo apt-get install -y fish zsh bash run: sudo apt-get update && sudo apt-get install -y fish zsh bash
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: fnm-linux name: fnm-linux
@ -249,7 +249,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends musl-tools sudo apt-get install -y --no-install-recommends musl-tools
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build release binary - name: Build release binary
run: cargo build --release --target x86_64-unknown-linux-musl run: cargo build --release --target x86_64-unknown-linux-musl
- name: Strip binary from debug symbols - name: Strip binary from debug symbols
@ -287,7 +287,7 @@ jobs:
key: arm-binary-${{ matrix.arch }} key: arm-binary-${{ matrix.arch }}
- name: "Download `cross` crate" - name: "Download `cross` crate"
run: cargo install cross run: cargo install cross
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: "Build release" - name: "Build release"
run: cross build --target $RUST_TARGET --release run: cross build --target $RUST_TARGET --release
- uses: uraimo/run-on-arch-action@v2.1.2 - uses: uraimo/run-on-arch-action@v2.1.2
@ -327,7 +327,7 @@ jobs:
steps: steps:
- name: install necessary shells - name: install necessary shells
run: sudo apt-get update && sudo apt-get install -y fish zsh bash run: sudo apt-get update && sudo apt-get install -y fish zsh bash
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: fnm-linux name: fnm-linux

Loading…
Cancel
Save