From 2b30b5f2f8e78badbf51717a34f3ece522a3ec2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Mon, 27 Oct 2025 17:06:50 +0100 Subject: [PATCH] chore: ajout d'un action github --- .github/workflows/static.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..6a314a0 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,25 @@ +name: Java Test + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - name: Compile Java sources + run: javac -d bin $(find src -name "*.java") + + - name: Run program + run: java -cp bin Main \ No newline at end of file