-
Notifications
You must be signed in to change notification settings - Fork 0
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
c7baec4
commit 9e89d3d
Showing
2 changed files
with
30 additions
and
24 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
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,27 @@ | ||
name: checks | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- uses: extractions/setup-just@v1 | ||
name: Setup just | ||
- name: Initialize Pants | ||
uses: pantsbuild/actions/init-pants@main | ||
with: | ||
# cache0 makes it easy to bust the cache if needed | ||
gha-cache-key: cache0-py310 | ||
named-caches-hash: ${{ hashFiles('lockfiles/*.json', '**/something-else.lock') }} | ||
- name: format | ||
run: just fmt | ||
- name: lint | ||
run: just lint | ||
- name: test | ||
run: just test | ||
- name: package | ||
run: just package |