Set version to 2.4-SNAPSHOT #254
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builds and pushes docker images on main and tags | |
name: Build and test | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Validate source code formatting | |
run: | | |
make lint | |
- name: Build without tests | |
run: | | |
make package | |
- name: Test | |
run: | | |
make test | |
- name: Build docker image | |
run: | | |
make build-image | |
- name: Build and run examples | |
run: | | |
./mvnw install -pl :gs-acl-api-client -am -DskipTests | |
make test-examples | |