[ACS-8676] bump GH actions to the latest version (#71) #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Third-party License Overrides CI | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
pre_commit: | |
name: "pre-commit" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | |
tests: | |
name: "Tests" | |
runs-on: ubuntu-latest | |
needs: [ pre_commit ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | |
- name: "Compile" | |
run: | | |
cd test | |
javac -d target ./org/alfresco/thirdpartylicense/ValidateProperties.java | |
- name: "Run tests" | |
run: | | |
cd test | |
echo -e "\n~~~ Unit tests ~~~\n" | |
java -cp target org.alfresco.thirdpartylicense.ValidateProperties | |
echo -e "\n~~~ Script E2E tests ~~~\n" | |
./thirdPartyLicenseCSVCreatorTests/test.sh | |
echo -e "\n~~~ Plugin E2E tests ~~~\n" | |
cd pluginE2ETests | |
mvn clean install |