-
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.
Refactor github action workflow definitions (#13)
- Loading branch information
1 parent
93a0ab0
commit 6c0e95f
Showing
2 changed files
with
42 additions
and
26 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,38 @@ | ||
--- | ||
name: lint | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
defaults: | ||
run: | ||
working-directory: 'nephelaiio.docker' | ||
|
||
jobs: | ||
|
||
lint: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: check out the codebase | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'nephelaiio.docker' | ||
|
||
- name: set up python 3 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: install poetry | ||
run: pip3 install poetry | ||
|
||
- name: install pips | ||
run: poetry install | ||
|
||
- name: lint code | ||
run: | | ||
poetry run molecule syntax |
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