Skip to content

Commit

Permalink
Sync up workflow file definitions
Browse files Browse the repository at this point in the history
This change updates our workflow file definitions by bringing them
closer to what we use in other projects.
  • Loading branch information
d-e-s-o committed Jun 26, 2023
1 parent b5bfab4 commit 9b978d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
version: ${{ needs.version.outputs.version }}
run: |
curl --location \
--fail-with-body \
--request POST \
--url https://api.github.com/repos/${{ github.repository }}/releases \
--header "Accept: application/vnd.github+json" \
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
profile: minimal
override: true
- name: Build ${{ matrix.profile }}
run: |
cargo build --profile=${{ matrix.profile }} --lib --tests --all-features
run: cargo build --profile=${{ matrix.profile }} --lib --tests --all-features
build-minimum:
name: Build using minimum versions of dependencies
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:
toolchain: stable
components: clippy
override: true
- run: cargo clippy --no-deps --all-targets --all-features --tests -- -A unknown_lints -D warnings
- run: cargo clippy --no-deps --all-targets --all-features -- -A unknown_lints -D warnings
rustfmt:
name: Check code formatting
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9b978d8

Please sign in to comment.