Fix rustc compilation and code format #54
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
# This workflow is responsible for building the standard library using the bootstrap script | |
# and executing the Rust regression. | |
name: Rust Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
push: | |
paths: | |
- 'library/**' | |
- 'rust-toolchain.toml' | |
- '.github/workflows/rustc.yml' | |
- 'scripts/check_rustc.sh' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Note windows-latest is currently failing. | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout Library | |
uses: actions/checkout@v4 | |
with: | |
path: head | |
- name: Run rustc script | |
run: bash ./head/scripts/check_rustc.sh ${{github.workspace}}/head |