* chore: fix for old aws account id * chore: fix for old aws account id * chore: test with changed branch * chore: test with changed branch * chore: test with install dependencies * chore: prepare to pr
41 lines
926 B
YAML
41 lines
926 B
YAML
name: Swap encoders CI
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
env:
|
|
PYTEST_ADDOPTS: "--color=yes"
|
|
|
|
jobs:
|
|
tests:
|
|
uses: propeller-heads/tycho-protocol-sdk/.github/workflows/python-tests.yaml@main
|
|
secrets:
|
|
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
|
|
aws-region: ${{ secrets.AWS_REGION }}
|
|
domain-owner: ${{ secrets.DOMAIN_OWNER }}
|
|
|
|
formatting:
|
|
name: Formatting
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Check out Repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Env
|
|
uses: ./.github/actions/setup_env
|
|
with:
|
|
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
|
|
aws-region: ${{ secrets.AWS_REGION }}
|
|
domain-owner: ${{ secrets.DOMAIN_OWNER }}
|
|
|
|
- name: Black Formatting
|
|
run: |
|
|
black ./propeller-swap-encoders --check --skip-magic-trailing-comma
|