@@ -16,13 +16,20 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Check out repo
19- uses : actions/checkout@v4
19+ uses : actions/checkout@v5
2020 - name : Set up Python
21- uses : actions/setup-python@v5
21+ uses : actions/setup-python@v6
2222 with :
2323 python-version : ' 3.13'
24+ - name : Install dependencies
25+ run : python -m pip install pre-commit
26+ - name : Cache pre-commit environments
27+ uses : actions/cache@v4
28+ with :
29+ path : ~/.cache/pre-commit
30+ key : pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
2431 - name : Run pre-commit hooks
25- uses :
pre-commit/[email protected] 32+ run : pre-commit run -a --show-diff-on-failure --color=always
2633
2734 build :
2835 name : Build
3340 strategy :
3441 matrix :
3542 os : [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
36- java : [22, 24 ]
43+ java : [22, 25 ]
3744 include :
3845 - os : ubuntu-latest
3946 java : 22
4350 shell : bash
4451 steps :
4552 - name : Check out repo
46- uses : actions/checkout@v4
53+ uses : actions/checkout@v5
4754 - name : Install Java
48- uses : actions/setup-java@v4
55+ uses : actions/setup-java@v5
4956 with :
5057 distribution : oracle
5158 java-version : ${{ matrix.java }}
@@ -111,9 +118,9 @@ jobs:
111118 contents : write
112119 steps :
113120 - name : Check out repo
114- uses : actions/checkout@v4
121+ uses : actions/checkout@v5
115122 - name : Download artifacts
116- uses : actions/download-artifact@v4
123+ uses : actions/download-artifact@v5
117124 with :
118125 pattern : ${{ needs.build.outputs.dist-base }}
119126 merge-multiple : true
0 commit comments