mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-09 20:19:04 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
935 B
YAML
40 lines
935 B
YAML
name: Docker tests
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- Dockerfile
|
|
- run-in-docker.sh
|
|
- pom.xml
|
|
- modules/openapi-generator-online/pom.xml
|
|
- modules/openapi-generator-online/Dockerfile
|
|
pull_request:
|
|
paths:
|
|
- Dockerfile
|
|
- run-in-docker.sh
|
|
- pom.xml
|
|
- modules/openapi-generator-online/pom.xml
|
|
- modules/openapi-generator-online/Dockerfile
|
|
jobs:
|
|
build:
|
|
name: 'Build: Docker'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Test run-in-docker.sh
|
|
shell: bash
|
|
run: |
|
|
sed -i 's/ -it / /g' run-in-docker.sh
|
|
./run-in-docker.sh mvn clean install
|
|
|
|
- name: Build Dockerfile
|
|
shell: bash
|
|
run: docker build .
|
|
|
|
- name: Build modules/openapi-generator-online
|
|
shell: bash
|
|
run: |
|
|
docker build modules/openapi-generator-online/ -t test
|