Bump checkout version to v4 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Actions | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
target: [x86_64-pc-windows-msvc, i686-pc-windows-msvc] | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchains | |
run: rustup target add ${{ matrix.target }} | |
- name: Cargo Build | |
run: cargo build --target ${{ matrix.target }} | |
- name: Cargo Test | |
run: cargo test --target ${{ matrix.target }} | |
lint: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Cargo Check | |
run: cargo check | |
- name: Cargo Clippy | |
run: cargo clippy |