Skip to content

Commit

Permalink
ci: use built in dependency caching and use temurin (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Feb 16, 2023
1 parent 86765bf commit 885c9c7
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,11 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-main-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-main-maven-
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'zulu'
distribution: 'temurin'
cache: 'maven'
- run: cd tests && mvn clean test --batch-mode -Dmaven.test.failure.ignore=true
- uses: ./
if: github.ref != 'refs/heads/master'
Expand Down Expand Up @@ -57,12 +52,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-cache-
cache: npm
- run: npm install
- run: npm run eslint
- run: npm run test

0 comments on commit 885c9c7

Please sign in to comment.