Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use rustup instead of actions-rs #2168

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading