Skip to content

Commit

Permalink
upgrade actions
Browse files Browse the repository at this point in the history
checkout
cache
  • Loading branch information
bahill committed Nov 8, 2024
1 parent 9faf386 commit ebd2e0a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-requirements-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Needed by sonar to get the git history for the branch the PR will be merged into.
with:
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate_pull_request_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: PR Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: google-github-actions/[email protected]
with:
project_id: ${{ secrets.DEV_PROJECT_ID }}
Expand All @@ -27,9 +27,9 @@ jobs:
with:
version: 1.1.9
- name: Restore cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-poetry-v2
cache-name: cache-poetry-v4
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./orchestration/pyproject.toml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
ENV: test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Needed by sonar to get the git history for the branch the PR will be merged into.
with:
fetch-depth: 0
Expand All @@ -32,9 +32,9 @@ jobs:
with:
version: 1.1.9
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-poetry-v2
cache-name: cache-poetry-v4
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./orchestration/pyproject.toml') }}
Expand Down

0 comments on commit ebd2e0a

Please sign in to comment.