Skip to content

Commit

Permalink
pipeline adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dborges committed Sep 11, 2024
1 parent de2f5fc commit 0b8bdc8
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/default_ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checking out code
uses: actions/checkout@master

- name: Download Maven
run: |
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.zip -o maven.zip
apt-get update
apt-get -y install unzip
unzip -d /usr/share maven.zip
rm maven.zip
ln -s /usr/share/apache-maven-3.9.8/bin/mvn /usr/bin/mvn
echo "M2_HOME=/usr/share/apache-maven-3.9.8" | tee -a /etc/environment
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'

- name: Run Tests
cache: maven
- name: Run Tests with Maven
run: mvn -B test

security-scan:
runs-on: ubuntu-latest
steps:
- name: Checking out code
uses: actions/checkout@master
uses: actions/checkout@v4

0 comments on commit 0b8bdc8

Please sign in to comment.