Skip to content

Adds verify to ci.yaml (#500) #95

Adds verify to ci.yaml (#500)

Adds verify to ci.yaml (#500) #95

Workflow file for this run

name: CI
on: [ push ]
jobs:
upload:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Local Maven Repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 8.0.292+10
distribution: 'adopt'
- name: Install test dependencies
run: cd / && sudo apt-get update && sudo apt-get install wget rpm2cpio && sudo wget -q https://download.rockylinux.org/pub/rocky/8/AppStream/x86_64/os/Packages/g/geolite2-city-20180605-1.el8.noarch.rpm && sudo wget -q https://download.rockylinux.org/pub/rocky/8/AppStream/x86_64/os/Packages/g/geolite2-country-20180605-1.el8.noarch.rpm && rpm2cpio geolite2-city-20180605-1.el8.noarch.rpm | sudo cpio -i --make-directories && rpm2cpio geolite2-country-20180605-1.el8.noarch.rpm | sudo cpio -i --make-directories
- name: Run CI
run: mvn --batch-mode clean verify package