We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4201d62 commit 73fe94cCopy full SHA for 73fe94c
.github/workflows/tests.yml
@@ -66,6 +66,21 @@ jobs:
66
distribution: 'zulu'
67
- name: Setup Gradle
68
uses: gradle/actions/setup-gradle@v4
69
+ - name: Generate JBang cache key
70
+ id: cache-key
71
+ shell: bash
72
+ run: |
73
+ echo "cache_key=jbang-$(date +%F)" >> $GITHUB_OUTPUT
74
+ - name: Use cache
75
+ uses: actions/cache@v4
76
+ with:
77
+ lookup-only: true
78
+ path: ~/.jbang
79
+ key: ${{ steps.cache-key.outputs.cache_key }}
80
+ restore-keys:
81
+ jbang-
82
+ - name: Setup JBang
83
+ uses: jbangdev/setup-jbang@main
84
- name: Run OpenRewrite
85
run: |
86
./gradlew --no-configuration-cache :rewriteDryRun
0 commit comments