JavaCompilerCore/.gitea/workflows/build_and_test.yml
Daniel Holle c461e89336
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 4m45s
Try to use 22 for test, might fail
2024-11-20 17:03:37 +01:00

25 lines
575 B
YAML

name: Build and Test with Maven
on: [push]
jobs:
Build-and-test-with-Maven:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install maven
run: |
apt update
apt install -y maven
- name: Install java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '22'
cache: 'maven'
- name: Compile project
run: |
mvn compile
- name: Run tests
run: |
mvn test