Skip to content

Merge pull request #89 from OneBusAway/release-please--branches--main… #75

Merge pull request #89 from OneBusAway/release-please--branches--main…

Merge pull request #89 from OneBusAway/release-please--branches--main… #75

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- next
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
17
cache: gradle
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Run lints
run: ./scripts/lint
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
17
cache: gradle
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Run tests
run: ./scripts/test