diff options
author | Tim Oram <dev@mitmaro.ca> | 2023-07-22 17:22:27 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2023-07-22 23:52:06 -0230 |
commit | e61a25e5a0e93efcf100c29329775c19d721100f (patch) | |
tree | 5b19f742d92616f6a823a99802e443965f5e5cda /.github/workflows/pull-request.yml | |
parent | d13663f4cecf45ab597d69df9909ee9824ffbc24 (diff) |
Fix and clean workflows
This change updates, addresses some minor issues with the
master-coverage, release and pull-request workflows; and completely
rewrites the release-latest workflow.
This includes adding new release targets for the latest release, and
using a more reliable process for uploading the build artifacts to
GitHub releases.
Diffstat (limited to '.github/workflows/pull-request.yml')
-rw-r--r-- | .github/workflows/pull-request.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 21a0d0a..061c4d4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,8 +2,7 @@ name: Pull Request on: pull_request: - # run CI/CD against master as well, to generate cache - push: + push: # run CI/CD against master as well, to generate cache branches: - master @@ -15,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - uses: baptiste0928/cargo-install@v1 + - uses: baptiste0928/cargo-install@v2 with: crate: cargo-make - name: Test @@ -33,7 +32,7 @@ jobs: with: components: clippy - uses: Swatinem/rust-cache@v2 - - uses: baptiste0928/cargo-install@v1 + - uses: baptiste0928/cargo-install@v2 with: crate: cargo-make - run: cargo make lint-stable @@ -54,7 +53,7 @@ jobs: toolchain: nightly components: rustfmt - uses: Swatinem/rust-cache@v2 - - uses: baptiste0928/cargo-install@v1 + - uses: baptiste0928/cargo-install@v2 with: crate: cargo-make - run: cargo make format @@ -74,7 +73,7 @@ jobs: run: | cargo +nightly tarpaulin --workspace --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov - name: Post to Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: "coverage/lcov.info" @@ -86,7 +85,7 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - uses: baptiste0928/cargo-install@v1 + - uses: baptiste0928/cargo-install@v2 with: crate: cargo-make - name: Test |