-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4f87a2
commit c699d3d
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# This workflow integrates Pyre with GitHub's | ||
# Code Scanning feature. | ||
# | ||
# Pyre is a performant type checker for Python compliant with | ||
# PEP 484. Pyre can analyze codebases with millions of lines | ||
# of code incrementally – providing instantaneous feedback | ||
# to developers as they write code. | ||
# | ||
# See https://pyre-check.org | ||
|
||
name: Pyre | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pyre: | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Run Pyre | ||
uses: facebook/pyre-action@60697a7858f7cc8470d8cc494a3cf2ad6b06560d | ||
with: | ||
# To customize these inputs: | ||
# See https://github.com/facebook/pyre-action#inputs | ||
repo-directory: './' | ||
requirements-path: 'requirements.txt' |