Skip to content

Update all non-major dependencies #580

Update all non-major dependencies

Update all non-major dependencies #580

name: Integration tests - Corretto JDK 8
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6
- name: Build & Test
run: |
chromeBrowserVersionRegex='Google Chrome ([0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}).[0-9]*'
rawChromeBrowserVersion=$(google-chrome --version)
[[ $rawChromeBrowserVersion =~ $chromeBrowserVersionRegex ]]
export CHROME_BROWSER_VERSION=${BASH_REMATCH[1]}
chromeDriverVersionRegex='ChromeDriver ([0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}).[0-9]*'
rawChromeDriverVersion=$(chromedriver --version)
[[ $rawChromeDriverVersion =~ $chromeDriverVersionRegex ]]
export CHROME_DRIVER_VERSION=${BASH_REMATCH[1]}
echo "Using $CHROME_BROWSER_VERSION browser version with $CHROME_DRIVER_VERSION driver"
./gradlew --no-daemon --console=plain build test
- name: Archive test results
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: test-results
path: |
swagger-brake-integration-tests/build/reports/