Skip to content

Merge pull request #23 from CSSUoB/fix/workflows #5

Merge pull request #23 from CSSUoB/fix/workflows

Merge pull request #23 from CSSUoB/fix/workflows #5

Workflow file for this run

name: "Build"
on:
push:
branches: [ "master" ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Setup Java and Maven
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2