Skip to content

Commit

Permalink
💚 Add gradle cache cleaning step and update nx
Browse files Browse the repository at this point in the history
affected commands
  • Loading branch information
Samuel Guillemet committed Dec 6, 2023
1 parent 8815ce9 commit 14b34bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@ jobs:
# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track main origin/main

- name: Clean gradle cache
run: ./gradlew clean --no-daemon

- run: npx nx format:check
- run: npx nx affected -t lint,test,build --parallel=3
# Run build only for nx tag 'lang:java'
- run: npx nx affected -t build --parallel=3 --exclude='*,!tag:lang:java'
# Run lint, test and build only for nx tag 'lang:python'
- run: npx nx affected -t lint,test,build --parallel=3 --exclude='*,!tag:lang:python'

0 comments on commit 14b34bb

Please sign in to comment.