Skip to content

Commit

Permalink
Eliminate individual linting job
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianReeves committed Oct 4, 2024
1 parent a75297b commit 530fe68
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,6 @@ concurrency:
cancel-in-progress: true

jobs:
compile-and-lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout current branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Compile code
run: ./mill -i -k -j 0 __.compile
- name: Lint code
run: ./mill -i -k -j 0 __.checkFormat

test-jvm:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down Expand Up @@ -345,7 +325,7 @@ jobs:

ci:
runs-on: ubuntu-latest
needs: [compile-and-lint, test-jvm, test-js, test-native]
needs: [test-jvm, test-js, test-native]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"

0 comments on commit 530fe68

Please sign in to comment.