mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Remove needless dep
This commit is contained in:
parent
8ac7a180cf
commit
1e305b89ed
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -74,15 +74,10 @@ jobs:
|
||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Compile
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --no-run
|
||||
run: cargo test --no-run
|
||||
|
||||
- name: Test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
run: cargo test
|
||||
|
||||
- name: Prepare cache
|
||||
run: cargo xtask pre-cache
|
||||
|
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
@ -43,19 +43,13 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: actions-rs/cargo@v1
|
||||
run: cargo build --package rust-analyzer --bin rust-analyzer --release --target x86_64-unknown-linux-musl
|
||||
env:
|
||||
CC: clang
|
||||
with:
|
||||
command: build
|
||||
args: --package rust-analyzer --bin rust-analyzer --release --target x86_64-unknown-linux-musl
|
||||
|
||||
- name: Build
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --package rust-analyzer --bin rust-analyzer --release
|
||||
run: cargo build --package rust-analyzer --bin rust-analyzer --release
|
||||
|
||||
- name: Create distribution dir
|
||||
run: mkdir ./dist
|
||||
|
5
.github/workflows/rustdoc.yaml
vendored
5
.github/workflows/rustdoc.yaml
vendored
@ -24,10 +24,7 @@ jobs:
|
||||
components: rustfmt, rust-src
|
||||
|
||||
- name: Build Documentation
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: doc
|
||||
args: --all --no-deps
|
||||
run: cargo doc --all --no-deps
|
||||
|
||||
- name: Deploy Docs
|
||||
uses: peaceiris/actions-gh-pages@v2.6.0-rc0
|
||||
|
Loading…
Reference in New Issue
Block a user