Skip to content

Asenna lein

Asenna lein #593

Workflow file for this run

name: heratepalvelu
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Install Leiningen
run: |
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod +x lein
sudo cp lein /usr/local/sbin
lein
- name: Install Dependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
git clone https://github.com/Opetushallitus/ci-tools.git
lein deps
- name: Run tests
run: lein test
- name: Static checks
run: lein checkall