X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/eec3d782d3b1b4f3eecd5b741fcfc4570caf126c..66161b74a6c38114a9de5355b6775333d86e0328:/.github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a1fd42a..a3e7f35b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,14 @@ name: signal-cli CI -on: [ push, pull_request, workflow_call ] +on: + push: + branches: + - '**' + pull_request: + workflow_call: + +permissions: + contents: read # to fetch code (actions/checkout) jobs: build: @@ -8,14 +16,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '17', '19' ] + java: [ '17', '21' ] steps: - uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v3 with: - distribution: 'adopt' + distribution: 'zulu' java-version: ${{ matrix.java }} cache: 'gradle' - name: Build with Gradle