chore(deps): update actions/cache digest to 6849a64 #1285
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
--- | |
name: CI | |
on: [push] | |
jobs: | |
python311-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Apt install | |
run: cat Aptfile | sudo xargs apt-get install | |
- name: Python setup | |
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5 | |
with: | |
python-version: "3.11" | |
- id: cache | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip- | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Poetry install | |
run: pip install -Iv poetry | |
- name: Install dependencies | |
run: poetry install -v | |
- name: Tests | |
run: poetry run pytest | |
- name: Linting | |
run: | | |
poetry run ruff check social_auth_mitxpro/ | |
poetry run ruff format --check | |
python38-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Apt install | |
run: cat Aptfile | sudo xargs apt-get install | |
- name: Python setup | |
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5 | |
with: | |
python-version: "3.8" | |
- id: cache | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip- | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Poetry install | |
run: pip install -Iv poetry | |
- name: Install dependencies | |
run: poetry install -v | |
- name: Tests | |
run: poetry run pytest | |
- name: Linting | |
run: | | |
poetry run ruff check social_auth_mitxpro/ | |
poetry run ruff format --check |