@@ -35,17 +35,17 @@ jobs:
3535
3636 steps :
3737 - name : Checkout repository
38- uses : actions/checkout@v2
38+ uses : actions/checkout@v4
3939
40- - name : Set up JDK 8
41- uses : actions/setup-java@v2
40+ - name : Set up JDK 17
41+ uses : actions/setup-java@v4
4242 with :
43- java-version : ' 8 '
44- distribution : ' adopt '
43+ java-version : ' 17 '
44+ distribution : ' temurin '
4545
4646 # Initializes the CodeQL tools for scanning.
4747 - name : Initialize CodeQL
48- uses : github/codeql-action/init@v1
48+ uses : github/codeql-action/init@v3
4949 with :
5050 languages : ${{ matrix.language }}
5151 # If you wish to specify custom queries, you can do so here or in a config file.
@@ -65,12 +65,10 @@ jobs:
6565 # and modify them (or add more) to build your code if your project
6666 # uses a compiled language
6767
68+ # Note: Assumes we're running on Ubuntu
69+ # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
6870 - name : Build
69- # run: ./gradlew build --warning-mode all
70- uses : GabrielBB/xvfb-action@v1
71- with :
72- run : ./gradlew build -xsign -xpublish --warning-mode all
73- working-directory : ./ # optional
71+ run : xvfb-run ./gradlew build -xsign -xpublish --warning-mode all
7472
7573 - name : Perform CodeQL Analysis
76- uses : github/codeql-action/analyze@v1
74+ uses : github/codeql-action/analyze@v3
0 commit comments