Skip to content

fix: fix wrappers and missing wref.to_ref #940

fix: fix wrappers and missing wref.to_ref

fix: fix wrappers and missing wref.to_ref #940

Workflow file for this run

name: CI
on:
push:
branches: ["*.*.x"]
pull_request:
branches: ["*.*.x"]
env:
CARGO_TERM_COLOR: always
jobs:
check-format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly --profile minimal --component rustfmt --no-self-update
- run: cargo +nightly fmt --all -- --check
lint:
name: Lint
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal --component clippy --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-features -- -D warnings
test:
name: Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo test --all-features
build:
name: Build
runs-on: windows-latest
env:
ARCHIVE_NAME: redscript-${{ github.ref_name }}.zip
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo build --release
- run: .\build\package.ps1 -zipPath ${{ env.ARCHIVE_NAME }}
- uses: actions/upload-artifact@v4
with:
path: |
${{ env.ARCHIVE_NAME }}
target/release/redscript-cli.exe
if-no-files-found: error