Skip to content

Commit

Permalink
Remove space for containers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corneil du Plessis committed Mar 19, 2024
1 parent f53cd69 commit 37a8ff3
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@ name: CI PRs
on:
pull_request:

env:
MAVEN_THREADS: '-T 1'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# cache maven repo
- uses: actions/cache@v3
- uses: jlumbroso/free-disk-space@main
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-
tool-cache: false
dotnet: false
docker-images: false
swap-storage: false
large-packages: false
# jdk8
- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -48,10 +46,6 @@ jobs:
name: Unit Tests
path: '**/surefire-reports/*.xml'
retention-days: 3
# clean m2 cache
- name: Clean cache
run: |
find ~/.m2/repository -type d -name '*SNAPSHOT' | xargs rm -fr
scan:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 37a8ff3

Please sign in to comment.