FIX: Fix handling of unicode in epoch #10
This file contains hidden or 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: build | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| name: build (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| run: rustup toolchain add --profile minimal stable --component clippy,rustfmt | |
| # Cargo setup | |
| - name: Set up Cargo cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} | |
| - name: Format | |
| run: scripts/format.sh | |
| shell: bash | |
| - name: Build | |
| run: scripts/build.sh | |
| shell: bash | |
| - name: Lint | |
| run: scripts/lint.sh | |
| shell: bash | |
| - name: Test | |
| run: scripts/test.sh | |
| shell: bash |