Update dependency org.jetbrains.kotlin:kotlin-test to v1.9.25 #416
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: build | |
on: | |
pull_request: | |
push: | |
branches: | |
- '**' | |
- '!trunk' | |
tags-ignore: | |
- '**' | |
jobs: | |
gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- run: ./gradlew build | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: docker build -t posterbox . | |
- name: Test Docker container | |
run: | | |
mkdir temp | |
touch temp/config.toml | |
docker run -d -v `pwd`/temp:/config -p 9931:9931 posterbox | |
# Wait for container to start up and bind to port. | |
timeout 10 sh -c 'until nc -z localhost 9931; do sleep 1; done;' | |
sleep 1 | |
curl -q localhost:9931 |