feat(compiler): Introduce warning if non-void expression value not used or ignored #9469
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: Grain CI Workflow | |
# This is to avoid unnecessary runs. | |
# e.g. push AND pull_request against a PR or push against a tag from workflow runs | |
# If you need CI to run, you can open a Draft PR to trigger the CI. | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
merge_group: | |
# This will cancel previous runs when a branch or PR is updated | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build and test on ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
uses: ./.github/workflows/build.yml | |
with: | |
os: ${{ matrix.os }} | |
test-pkg: | |
name: Test pkg binaries | |
needs: [build] | |
uses: ./.github/workflows/test-pkg.yml |