Skip to content

ci: add Makefile and GitHub Actions workflow for PR checks #11

ci: add Makefile and GitHub Actions workflow for PR checks

ci: add Makefile and GitHub Actions workflow for PR checks #11

Workflow file for this run

name: Flink CI
on:
push:
branches: [main]
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
paths-ignore:
- '**.md'
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '11'
cache: maven
- name: Run lint
run: make lint
build-and-test:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '11'
cache: maven
- name: Install
run: make install
- name: Test
run: make test