Skip to content

Commit

Permalink
Add github actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mmokko committed Sep 21, 2023
1 parent 649579a commit 03df3e2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: java-access-bridge-wrapper

on:
push:
paths:
- src/**
- .github/workflows/**

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install requirements
run: pip install -Ur requirements.txt
- name: Set up cache
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: invoke update
- name: Run lint
run: invoke lint

0 comments on commit 03df3e2

Please sign in to comment.