Skip to content

Commit

Permalink
Fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
lhvy committed Oct 16, 2023
1 parent 9cbbb58 commit 72e8f6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
id: step
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref }}
draft: false

build_release:
name: Build release
Expand Down Expand Up @@ -50,6 +46,7 @@ jobs:
targets: ${{ join(matrix.targets, ',') }}

- name: Build
shell: bash
run: |
for target in ${{ join(matrix.targets, ' ') }}; do
cargo build --release --target $target
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build --all-features --locked
run: cargo build --all-targets --all-features --locked

- name: Clippy
run: cargo clippy --all-features
run: cargo clippy --all-targets --all-features

- name: Test
run: cargo test --all-features --locked
run: cargo test --all-targets --all-features --locked

fmt:
name: Formatting
Expand Down

0 comments on commit 72e8f6b

Please sign in to comment.