Skip to content

[dependabot] Bump github/codeql-action from 3.27.6 to 3.27.9 in the actions group #45

[dependabot] Bump github/codeql-action from 3.27.6 to 3.27.9 in the actions group

[dependabot] Bump github/codeql-action from 3.27.6 to 3.27.9 in the actions group #45

Workflow file for this run

name: build
on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
tags:
- '**'
pull_request:
permissions: # added using https://github.com/step-security/secure-repo
contents: read
env:
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false --batch-mode
jobs:
build-scala:
strategy:
fail-fast: false
matrix:
version: [ "2.12", "2.13" ]
uses: ./.github/workflows/build-and-test.yml
with:
scala-version: ${{ matrix.version }}
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
key: ${{ hashFiles('**/pom.xml') }}-docs
path: ~/.m2/repository/
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: docs/requirements.txt
- name: Install python dependencies
run: pip install -r docs/requirements.txt
- name: Build with Maven
run: mvn clean install $MAVEN_CLI_OPTS -Pdocs -pl docs
- name: Remove geomesa artifacts
if: success() || failure()
run: rm -rf ~/.m2/repository/org/locationtech/geomesa
check-license-headers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
key: ${{ hashFiles('**/pom.xml') }}-license-header-check
path: ~/.m2/repository/
- name: Run license check
run: mvn license:check $MAVEN_CLI_OPTS