Skip to content

Commit

Permalink
ci: use rustup instead of actions-rs (#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu authored Mar 27, 2024
1 parent 0a60ec1 commit 47ea5d8
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 185 deletions.
13 changes: 7 additions & 6 deletions .github/actions/duvet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions-rs/toolchain@v1.0.7
- name: Install rust toolchain
id: toolchain
with:
toolchain: stable
override: true
shell: bash
run: |
rustup toolchain install stable
rustup override set stable
- uses: camshaft/rust-cache@v1

Expand All @@ -42,8 +43,8 @@ runs:
crate: duvet

- name: Generate Duvet report
run: ${{ inputs.report-script }} ${{ github.sha }}
shell: bash
run: ${{ inputs.report-script }} ${{ github.sha }}

- uses: aws-actions/configure-aws-credentials@v1.6.1
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
Expand All @@ -55,6 +56,7 @@ runs:
- name: Upload to S3
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
id: s3
shell: bash
run: |
if [ -n "${{ inputs.report-path }}" ]; then
REPORT_PATH="${{ inputs.report-path }}"
Expand All @@ -73,7 +75,6 @@ runs:
URL="$PREFIX/$TARGET"
echo "::set-output name=URL::$URL"
shell: bash
- uses: ouzi-dev/commit-status-updater@v1.1.2
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
Expand Down
Loading

0 comments on commit 47ea5d8

Please sign in to comment.