Skip to content

Add on pull_request to build.yml #3

Add on pull_request to build.yml

Add on pull_request to build.yml #3

Workflow file for this run

name: Build & Test RepCounterBot
on:
push:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-package: jdk
cache: maven
- name: Build and test
run: mvn clean install