Public Access
ci: add rustfmt and clippy components to setup-rust-toolchain
This commit is contained in:
@@ -19,6 +19,7 @@ jobs:
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
@@ -44,6 +45,7 @@ jobs:
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Build release binary
|
||||
run: cargo build --release
|
||||
@@ -57,7 +59,9 @@ jobs:
|
||||
-d "{
|
||||
\"tag_name\": \"$TAG\",
|
||||
\"name\": \"Action Gateway $TAG\",
|
||||
\"body\": \"Automated release\n\nCommit: ${{ github.sha }}\",
|
||||
\"body\": \"Automated release
|
||||
|
||||
Commit: ${{ github.sha }}\",
|
||||
\"draft\": false
|
||||
}")
|
||||
RELEASE_ID=$(echo "$RELEASE" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
|
||||
|
||||
Reference in New Issue
Block a user