aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-04 17:05:29 +0000
committerAleksey Kladov <[email protected]>2020-03-04 17:05:29 +0000
commit1e305b89ed0ee195f9c8e6229140dfe7b4ce6d19 (patch)
tree71655315c1691bd7812913fcbebfcb56af8b7422
parent8ac7a180cf8f08c8c6649c6f06709198425a58a1 (diff)
Remove needless dep
-rw-r--r--.github/workflows/ci.yaml9
-rw-r--r--.github/workflows/release.yaml10
-rw-r--r--.github/workflows/rustdoc.yaml5
3 files changed, 5 insertions, 19 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 74ce147ae..633015956 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -74,15 +74,10 @@ jobs:
74 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} 74 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
75 75
76 - name: Compile 76 - name: Compile
77 uses: actions-rs/cargo@v1 77 run: cargo test --no-run
78 with:
79 command: test
80 args: --no-run
81 78
82 - name: Test 79 - name: Test
83 uses: actions-rs/cargo@v1 80 run: cargo test
84 with:
85 command: test
86 81
87 - name: Prepare cache 82 - name: Prepare cache
88 run: cargo xtask pre-cache 83 run: cargo xtask pre-cache
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 30f1ff22f..aef961671 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -43,19 +43,13 @@ jobs:
43 43
44 - name: Build 44 - name: Build
45 if: matrix.os == 'ubuntu-latest' 45 if: matrix.os == 'ubuntu-latest'
46 uses: actions-rs/cargo@v1 46 run: cargo build --package rust-analyzer --bin rust-analyzer --release --target x86_64-unknown-linux-musl
47 env: 47 env:
48 CC: clang 48 CC: clang
49 with:
50 command: build
51 args: --package rust-analyzer --bin rust-analyzer --release --target x86_64-unknown-linux-musl
52 49
53 - name: Build 50 - name: Build
54 if: matrix.os != 'ubuntu-latest' 51 if: matrix.os != 'ubuntu-latest'
55 uses: actions-rs/cargo@v1 52 run: cargo build --package rust-analyzer --bin rust-analyzer --release
56 with:
57 command: build
58 args: --package rust-analyzer --bin rust-analyzer --release
59 53
60 - name: Create distribution dir 54 - name: Create distribution dir
61 run: mkdir ./dist 55 run: mkdir ./dist
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml
index 66c8887ad..338a4b2ab 100644
--- a/.github/workflows/rustdoc.yaml
+++ b/.github/workflows/rustdoc.yaml
@@ -24,10 +24,7 @@ jobs:
24 components: rustfmt, rust-src 24 components: rustfmt, rust-src
25 25
26 - name: Build Documentation 26 - name: Build Documentation
27 uses: actions-rs/cargo@v1 27 run: cargo doc --all --no-deps
28 with:
29 command: doc
30 args: --all --no-deps
31 28
32 - name: Deploy Docs 29 - name: Deploy Docs
33 uses: peaceiris/[email protected] 30 uses: peaceiris/[email protected]