summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cd.yml1
-rw-r--r--.github/workflows/ci.yml5
-rw-r--r--rust-toolchain.toml3
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index ce4db2b9..c4c91350 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -25,6 +25,7 @@ jobs:
with:
toolchain: stable
profile: minimal
+ override: true
components: clippy
- name: Build
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0cd75812..6a38b505 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,6 +45,7 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
default: true
+ override: true
profile: minimal
components: clippy
@@ -100,6 +101,7 @@ jobs:
toolchain: ${{ matrix.rust }}
profile: minimal
default: true
+ override: true
target: x86_64-unknown-linux-musl
- name: Setup MUSL
@@ -127,6 +129,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
+ override: true
components: rustfmt
- run: cargo fmt -- --check
@@ -170,4 +173,4 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: release-notes.txt
- path: ./release-notes.txt \ No newline at end of file
+ path: ./release-notes.txt
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
new file mode 100644
index 00000000..02cb8fcb
--- /dev/null
+++ b/rust-toolchain.toml
@@ -0,0 +1,3 @@
+[toolchain]
+channel = "stable"
+profile = "default"