Skip to content

Commit

Permalink
ci: switch to actions/checkout@v3
Browse files Browse the repository at this point in the history
checkout@v3 runs on node16 so it will remove deprecation warning:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Reviewed-by: Iker Pedrosa <[email protected]>
Reviewed-by: Justin Stephenson <[email protected]>
  • Loading branch information
pbrezina committed Nov 1, 2022
1 parent 62458d4 commit c526acb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analyze-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
Expand All @@ -35,13 +35,13 @@ jobs:
contents: read
steps:
- name: Checkout target branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.base_ref }}
path: target

- name: Checkout pull request branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
path: pr
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
id: dependencies
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get matrix
id: matrix
Expand All @@ -80,7 +80,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: sssd

Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
contents: read
steps:
- name: Checkout sssd repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: sssd

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/copr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
contents: read
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Downlooad source rpm
uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
uses: ./.github/actions/install-dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
id: dependencies
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Run flake8
uses: grantmcconnaughey/lintly-flake8-github-action@d9db4fd0be9fb1cd19206a48ec0773bd93b82cbd
Expand Down

0 comments on commit c526acb

Please sign in to comment.