Skip to content

Create dependabot.yml #18

Create dependabot.yml

Create dependabot.yml #18

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI check
jobs:
build:
runs-on: ubuntu-latest
name: Build and deploy
steps:
- name: Check out code
uses: actions/[email protected]
with:
submodules: true
- name: Set SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: Add known host key
run: ssh-keyscan javacard.pro >> ~/.ssh/known_hosts
- name: Cache local Maven repository
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup java
uses: actions/[email protected]
with:
java-version: 17
distribution: temurin
- name: Compile and verify
run: ./mvnw -U -B -T1C verify
- name: Deploy snapshot
run: ./mvnw -B deploy