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
|
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'])")
|
||||||
|
|||||||
Reference in New Issue
Block a user