ci: add rustfmt and clippy components to setup-rust-toolchain

This commit is contained in:
2026-03-09 19:58:20 -07:00
parent 94a4398e66
commit aa7fae8d28
+5 -1
View File
@@ -19,6 +19,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
components: rustfmt, clippy
- name: Build - name: Build
run: cargo build --release run: cargo build --release
@@ -44,6 +45,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
components: rustfmt, clippy
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release
@@ -57,7 +59,9 @@ jobs:
-d "{ -d "{
\"tag_name\": \"$TAG\", \"tag_name\": \"$TAG\",
\"name\": \"Action Gateway $TAG\", \"name\": \"Action Gateway $TAG\",
\"body\": \"Automated release\n\nCommit: ${{ github.sha }}\", \"body\": \"Automated release
Commit: ${{ github.sha }}\",
\"draft\": false \"draft\": false
}") }")
RELEASE_ID=$(echo "$RELEASE" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])") RELEASE_ID=$(echo "$RELEASE" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")