Skip to content

Commit

Permalink
Merge pull request #569 from Tecnativa/modernize-actions
Browse files Browse the repository at this point in the history
[IMP] Raise actions to latest versions
  • Loading branch information
pedrobaeza authored Nov 6, 2023
2 parents 95c69ac + a4171fe commit e17ff55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Set PY
run:
echo "PY=$(python -c 'import hashlib,
sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
>> $GITHUB_ENV
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: pre-commit/action@v1.0.1
- uses: pre-commit/action@v3.0.0

build-test-push:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
PG_VERSIONS: ${{ matrix.pg_version }}
steps:
# Prepare
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.9"
# Install dev and test dependencies
Expand Down

0 comments on commit e17ff55

Please sign in to comment.