Changeset 18056 in josm for trunk


Ignore:
Timestamp:
2021-07-17T19:43:54+02:00 (3 years ago)
Author:
Don-vip
Message:

GitHub Actions : reuse Ivy cache across all workflows to speed-up static code analyses

Location:
trunk/.github/workflows
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/checkstyle-analysis.yml

    r18053 r18056  
    1919          fetch-depth: 256
    2020
     21    - name: Cache
     22      uses: actions/cache@v2.0.0
     23      with:
     24        path: |
     25          ~/.ivy2/cache/
     26          ~/work/josm/josm/tools/
     27        key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}
     28
    2129    - name: Run Checkstyle with Ant
    2230      run: |
  • trunk/.github/workflows/codeql-analysis.yml

    r18053 r18056  
    2626          fetch-depth: 256
    2727
     28    - name: Cache
     29      uses: actions/cache@v2.0.0
     30      with:
     31        path: |
     32          ~/.ivy2/cache/
     33          ~/work/josm/josm/tools/
     34        key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}
     35
    2836    - name: Initialize CodeQL
    2937      uses: github/codeql-action/init@v1
  • trunk/.github/workflows/pmd-analysis.yml

    r18053 r18056  
    1919          fetch-depth: 256
    2020
     21    - name: Cache
     22      uses: actions/cache@v2.0.0
     23      with:
     24        path: |
     25          ~/.ivy2/cache/
     26          ~/work/josm/josm/tools/
     27        key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}
     28
    2129    - name: Run PMD with Ant
    2230      run: |
  • trunk/.github/workflows/spotbugs-analysis.yml

    r18053 r18056  
    1919          fetch-depth: 256
    2020
     21    - name: Cache
     22      uses: actions/cache@v2.0.0
     23      with:
     24        path: |
     25          ~/.ivy2/cache/
     26          ~/work/josm/josm/tools/
     27        key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}
     28
    2129    - name: Run Spotbugs with Ant
    2230      run: |
Note: See TracChangeset for help on using the changeset viewer.