-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (31 loc) · 888 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: "pyanalyze GitHub Action"
description: "A GitHub Action of pyanalyze, a tool for type-checking Python code."
author: "Gabriel Mitelman Tkacz"
inputs:
src:
description: "Source to run pyanalyze. Default: '.'"
required: false
default: "."
args:
description: "Arguments passed to pyanalyze. Use `pyanalyze --help` to see available options."
required: false
version:
description: 'The version of pyanalyze to use, e.g. "==0.33.1"'
required: false
default: ""
runs:
using: "composite"
steps:
- name: Setup Python
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Install pyanalyze
shell: bash
run: uv pip install pyanalyze${{ inputs.version }}
- name: Run pyanalyze
shell: bash
run: pyanalyze ${{ inputs.src }} ${{ inputs.args }}
branding:
icon: "bell"
color: "gray-dark"