Skip to content

Update rust.yml

Update rust.yml #3

Workflow file for this run

name: Rust CI
on:
push:
branches: [ rust ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
rust: [stable]
steps:
- uses: actions/checkout@v2
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Check formatting
run: cargo fmt -- --check
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rtx_remix_downloader-${{ matrix.os }}
path: |
target/release/rtx_remix_downloader
target/release/rtx_remix_downloader.exe
if-no-files-found: ignore