summaryrefslogtreecommitdiff
path: root/.github/workflows/nightly-rust-update.yml
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-07-31 15:05:30 -0400
committerOwen Jacobson <owen@grimoire.ca>2020-07-31 15:17:03 -0400
commitf6b35d12a4328acc7a0f85c7e383251c2823143b (patch)
tree2f1f38f7705be85e9553641a182eb4c47c338ca6 /.github/workflows/nightly-rust-update.yml
parenta5304715647814ba43fd97141f94a9ee83e25964 (diff)
Move tool installation into scripts.
Now that it's done in two (well, three, if you count the README) places, it's best if its done consistently.
Diffstat (limited to '.github/workflows/nightly-rust-update.yml')
-rw-r--r--.github/workflows/nightly-rust-update.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/nightly-rust-update.yml b/.github/workflows/nightly-rust-update.yml
index c7dc962..00ff6e6 100644
--- a/.github/workflows/nightly-rust-update.yml
+++ b/.github/workflows/nightly-rust-update.yml
@@ -12,10 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - run: date +nightly-%Y-%m-%d > rust-toolchain
- - run: rustup install --profile minimal "$(< rust-toolchain)"
- - run: rustup component add clippy rustfmt
- - run: cargo install cargo-udeps
+ - run: tools/update-nightly
+ - run: tools/install-tool-dependencies
- run: tools/checks
- uses: peter-evans/create-pull-request@v3
with: