chore: bump io.github.bonigarcia:webdrivermanager from 5.6.3 to 5.8.0… #1148
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
name: "Main / Pull requests build" | |
on: | |
pull_request: | |
paths-ignore: | |
- '.txt' | |
- 'LICENSE' | |
- 'docs/**' | |
branches: [main] | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 21 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
architecture: x64 | |
- name: Cache Maven packages | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2- | |
- name: Build with Maven | |
run: | | |
if [ "$RUNNER_OS" == "macOS" ]; then | |
# Make "localhost" DNS entry available; see https://github.com/actions/runner-images/issues/6383 | |
# sudo networksetup -setdnsservers Ethernet 9.9.9.9 | |
echo -e "$(ipconfig getifaddr en0) $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts | |
echo `sudo lsof -PiTCP -sTCP:LISTEN` | |
cat /etc/hosts | |
mvn --no-transfer-progress verify -DskipTests -DwaittimeForServerStart=150 | |
# skip tests on macos, takes too long with the current runners | |
else | |
mvn --no-transfer-progress verify -DwaittimeForServerStart=30 | |
fi | |
shell: bash |