Skip to content

Commit 746201f

Browse files
bumahkib7claude
andcommitted
fix: CI should only run tests, not build/release
Removed Build Release and Security Scan jobs from CI. Release is handled by release.yml. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 44f40da commit 746201f

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -119,60 +119,3 @@ jobs:
119119
uses: taiki-e/install-action@nextest
120120
- name: Run tests (partition ${{ matrix.partition }}/3)
121121
run: cargo nextest run --workspace --partition count:${{ matrix.partition }}/3
122-
123-
build:
124-
name: Build Release
125-
runs-on: ubuntu-latest
126-
needs: [fmt, clippy, test]
127-
steps:
128-
- uses: actions/checkout@v4
129-
- name: Install mold linker
130-
run: |
131-
sudo apt-get update && sudo apt-get install -y mold
132-
mkdir -p ~/.cargo
133-
echo '[target.x86_64-unknown-linux-gnu]' >> ~/.cargo/config.toml
134-
echo 'linker = "clang"' >> ~/.cargo/config.toml
135-
echo 'rustflags = ["-C", "link-arg=-fuse-ld=mold"]' >> ~/.cargo/config.toml
136-
- name: Install Rust
137-
uses: dtolnay/rust-toolchain@stable
138-
- name: Setup sccache
139-
uses: mozilla-actions/[email protected]
140-
continue-on-error: true
141-
- name: Configure sccache
142-
continue-on-error: true
143-
run: |
144-
if command -v sccache &> /dev/null && sccache --start-server 2>/dev/null; then
145-
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
146-
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
147-
else
148-
echo "sccache unavailable, running without cache"
149-
fi
150-
- name: Cache cargo registry
151-
uses: actions/cache@v4
152-
with:
153-
path: |
154-
~/.cargo/registry/index/
155-
~/.cargo/registry/cache/
156-
~/.cargo/git/db/
157-
key: cargo-registry-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
158-
restore-keys: |
159-
cargo-registry-${{ runner.os }}-
160-
- name: Build release
161-
run: cargo build --release
162-
163-
security-scan:
164-
name: Security Scan (Self)
165-
runs-on: ubuntu-latest
166-
needs: build
167-
permissions:
168-
contents: read
169-
security-events: write
170-
steps:
171-
- uses: actions/checkout@v4
172-
- name: Run RMA on itself
173-
uses: ./.github/actions/rma-scan
174-
with:
175-
path: '.'
176-
profile: 'strict'
177-
extra-args: '--skip-tests'
178-
upload-sarif: true

0 commit comments

Comments
 (0)