Skip to content

Commit

Permalink
build(CI): improve ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic committed Apr 1, 2024
1 parent 6d8252b commit f324ad5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
fmt:
runs-on: ubuntu-latest
name: nightly / fmt
name: fmt / nightly
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -41,7 +41,7 @@ jobs:
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
name: ${{ matrix.toolchain }} / clippy
name: clippy / ${{ matrix.toolchain }}
permissions:
contents: read
checks: write
Expand All @@ -65,7 +65,7 @@ jobs:
# https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html which allows an
# API be documented as only available in some specific platforms.
runs-on: ubuntu-latest
name: nightly / doc
name: doc / nightly
steps:
- uses: actions/checkout@v4
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
jobs:

# Docker build for amd64
build_amd64:
name: amd64
docker-build-amd64:
runs-on: buildjet-4vcpu-ubuntu-2204
concurrency:
group: ${{ github.ref }}-docker-build-amd64
Expand All @@ -27,7 +26,7 @@ jobs:
- run: just docker-build-amd64

# Docker build for arm64
build_arm64:
docker-build-arm64:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
concurrency:
group: ${{ github.ref }}-docker-build-arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
jobs:
required:
runs-on: ubuntu-latest
name: ubuntu / ${{ matrix.toolchain }}
name: test / ubuntu / ${{ matrix.toolchain }}
strategy:
matrix:
# run on stable and beta to ensure that tests won't break on the next version of the rust
Expand Down

0 comments on commit f324ad5

Please sign in to comment.