Skip to content

Update check.yml

Update check.yml #2

Workflow file for this run

name: Check
on:
push:
branches: [ "next" ]
pull_request:
branches: [ "next" ]
env:
CARGO_TERM_COLOR: always
jobs:
debug-build-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Debug build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
release-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run build script
run: python ./pack.py