Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): adds caching when installing python dependencies #1311

Merged
merged 2 commits into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "poetry"
- name: Set release notes tag
id: release_version
# transform tag format `v<version` to `<version`
Expand Down Expand Up @@ -105,6 +106,13 @@ jobs:
run: |
git config user.name "Release bot"
git config user.email [email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "poetry"
- name: Install dependencies
run: make dev
- name: Build docs website and API reference
run: |
make release-docs VERSION=${RELEASE_VERSION} ALIAS="latest"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: make dev
- name: Formatting and Linting
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "poetry"
# Maintenance: temporarily until we drop Python 3.6 and make cfn-lint a dev dependency
- name: Setup Cloud Formation Linter with Latest Version
uses: scottbrenner/cfn-lint-action@ee9ee62016ef62c5fd366e6be920df4b310ed353 # v2.2.4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rebuild_latest_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "poetry"
- name: Set release notes tag
run: |
RELEASE_TAG_VERSION=${{ github.event.inputs.latest_published_version }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
python-version: ${{ matrix.version }}
architecture: "x64"
cache: "poetry"
- name: Install dependencies
run: make dev
- name: Configure AWS credentials
Expand Down