Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,12 @@ jobs:
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2025-08-01
override: true
- name: "Run tests"
run: cargo test --manifest-path=compiler/Cargo.toml --locked ${{ matrix.target.features && '--features' }} ${{ matrix.target.features }}

Expand All @@ -119,13 +118,12 @@ jobs:
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2025-08-01
override: true
- name: "Update fixture tests"
run: ./scripts/update-fixtures.sh
- name: "Build test project"
Expand All @@ -140,11 +138,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with tools/third-party/rustfmt/.rustfmt-version
toolchain: nightly-2025-08-01
override: true
components: rustfmt
- name: "rustfmt"
run: grep -r --include "*.rs" --files-without-match $'\x40generated' crates | xargs rustfmt --check --config="skip_children=true"
Expand Down Expand Up @@ -182,14 +179,13 @@ jobs:
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2025-08-01
override: true
target: ${{ matrix.target.target }}
targets: ${{ matrix.target.target }}
- uses: actions/setup-node@v4
if: github.event_name == 'push' && github.repository == 'facebook/relay' && github.ref == 'refs/heads/main'
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# ci.yml
toolchain: nightly-2025-08-01
override: true
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: "Build Compiler Playground Wasm NPM package"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-cargo-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# ci.yml
toolchain: nightly-2025-08-01
override: true
- name: cargo check
run: cargo check --features vendored --manifest-path=compiler/Cargo.toml
- name: pull-request
Expand Down