Skip to content

Commit

Permalink
ci: Use taiki-e/github-actions/checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 8, 2024
1 parent c29fda5 commit 91618d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ jobs:
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: taiki-e/github-actions/checkout@main
- name: Install Rust
run: rustup toolchain add ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
- run: rustup toolchain add nightly --no-self-update
Expand Down Expand Up @@ -107,9 +105,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: taiki-e/github-actions/checkout@main
- name: Install Rust
run: rustup toolchain add nightly --no-self-update --component miri && rustup default nightly
- run: cargo miri test --workspace --all-features
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: taiki-e/github-actions/checkout@main
- name: Install Rust
run: rustup update stable --no-self-update
- run: cargo package
Expand Down Expand Up @@ -69,9 +67,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: taiki-e/github-actions/checkout@main
- name: Install Rust
run: rustup update stable --no-self-update
- uses: taiki-e/setup-cross-toolchain-action@v1
Expand Down

0 comments on commit 91618d0

Please sign in to comment.