Skip to content

- Fixing passwordPolicy -> PasswordPolicy #277

- Fixing passwordPolicy -> PasswordPolicy

- Fixing passwordPolicy -> PasswordPolicy #277

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-package: jdk
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# Clones the magpie repository, build it and then validate the security rules
# using the SecurityRuleValidator in magpie core
- name: Verify Rule IDs
run: python3 dupe_check.py
- name: Clone Magpie
run: git clone https://github.com/openraven/magpie.git
- name: Build Magpie
run: mvn -f magpie -B clean install -DskipTests
- name: Validate rules
run: mvn test -f magpie -pl magpie-core -Dtest=SecurityRuleValidator -Drepository=$PWD