Skip to content
Draft
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
28 changes: 15 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ name: CI
on:
pull_request:
merge_group:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down Expand Up @@ -105,12 +108,13 @@ jobs:
if: matrix.os == 'macos-latest'
run: echo "::add-matcher::.github/rust.json"

# - name: Cache Dependencies
# uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
# with:
# workspaces: |
# . -> target
# ./crates/proc-macro-srv/proc-macro-test/imp -> target
- name: Cache Dependencies
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
cache-workspace-crates: true
workspaces: |
. -> target
./crates/proc-macro-srv/proc-macro-test/imp -> target

- name: Install nextest
uses: taiki-e/install-action@nextest
Expand Down Expand Up @@ -144,8 +148,11 @@ jobs:
rustup default stable
rustup component add rustfmt

# - name: Cache Dependencies
# uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- name: Cache Dependencies
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
cache-workspace-crates: "true"
key: wip2

- name: Bump opt-level
run: sed -i '/\[profile.dev]/a opt-level=1' Cargo.toml
Expand Down Expand Up @@ -213,9 +220,6 @@ jobs:
rustup default nightly-2026-02-10
rustup component add miri

# - name: Cache Dependencies
# uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6

- run: cargo miri test -p intern

# Weird targets to catch non-portable code
Expand All @@ -242,8 +246,6 @@ jobs:
rustup update --no-self-update stable
rustup target add ${{ matrix.target }}

# - name: Cache Dependencies
# uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6

- run: cargo check --target=${{ matrix.target }} --all-targets -p ide
if: ${{ matrix.ide-only }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@nextest

- name: Cache Dependencies
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
cache-workspace-crates: true

- name: Generate code coverage
run: cargo llvm-cov --workspace --lcov --output-path lcov.info

Expand Down
Loading