Files
HW-5-IMDB-SCRAPER/.github/workflows/maven.yml
T
2026-05-07 21:13:17 +03:30

23 lines
441 B
YAML

name: Java CI with Maven
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build and test with Maven
run: mvn -B test --file pom.xml