From 1e305b89ed0ee195f9c8e6229140dfe7b4ce6d19 Mon Sep 17 00:00:00 2001
From: Aleksey Kladov <aleksey.kladov@gmail.com>
Date: Wed, 4 Mar 2020 18:05:29 +0100
Subject: Remove needless dep

---
 .github/workflows/ci.yaml      |  9 ++-------
 .github/workflows/release.yaml | 10 ++--------
 .github/workflows/rustdoc.yaml |  5 +----
 3 files changed, 5 insertions(+), 19 deletions(-)

(limited to '.github/workflows')

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:
         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
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:
 
     - 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
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:
         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
-- 
cgit v1.2.3