Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/plugin-api-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: plugin-api-v2

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
contract:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: akashic-plugins/plugin-contracts
ref: 24543445c7b99ca63fcd90b5828f754a148b184c
path: .plugin-contracts
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Check Plugin API v2
env:
PYTHONPATH: .plugin-contracts
run: python -m akashic_plugin_contracts check plugin.py
1 change: 1 addition & 0 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ async def run(self, frame: Any) -> Any:


class CitationPlugin(Plugin):
api_version = 2
name = "citation"
version = "1.0.0"

Expand Down
Loading