Skip to content

Commit

Permalink
FMWK-295 Update versions in GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Dec 21, 2023
1 parent 803a48d commit 9b2b334
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build
on:
push:
branches:
- '**'
pull_request:
branches:
- main
Expand All @@ -11,24 +13,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 1.8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
cache: 'maven'

- name: Set up Aerospike Database
uses: reugn/github-action-aerospike@v1

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean package -B -U
2 changes: 1 addition & 1 deletion .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/maven@master
Expand Down

0 comments on commit 9b2b334

Please sign in to comment.