chore(actions): Use GHA cache (#2066)

This commit is contained in:
Pepe Fagoaga
2023-03-09 10:29:16 +01:00
committed by GitHub
parent 9e700f298c
commit 260f4659d5
3 changed files with 14 additions and 7 deletions

View File

@@ -17,14 +17,16 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: |
python -m pip install --upgrade pip
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
poetry run pip list
VERSION=$(curl --silent "https://api.github.com/repos/hadolint/hadolint/releases/latest" | \