Skip to content

Commit

Permalink
SNOW-1825712: Update GH actions versions (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dprzybysz authored Nov 26, 2024
1 parent 6e20666 commit 8706604
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build_type: [ 'Debug', 'Release' ]
cloud_provider: [ 'AWS', 'AZURE', 'GCP' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Restore cached deps
id: cache-restore-deps
uses: actions/cache/restore@v4
Expand All @@ -40,7 +40,7 @@ jobs:
path: dep-cache
key: ${{ matrix.build_type }}-${{ github.sha }}-Linux-dep-cache
if: github.ref_name == github.event.repository.default_branch && matrix.cloud_provider == 'AWS'
- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -63,7 +63,7 @@ jobs:
vs_version: [ 'VS16' ]
cloud_provider: [ 'AWS', 'AZURE', 'GCP' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Restore cached deps
id: cache-restore-deps
uses: actions/cache/restore@v4
Expand All @@ -85,7 +85,7 @@ jobs:
path: dep-cache
key: ${{ matrix.build_type }}-${{ matrix.platform }}-${{ matrix.vs_version }}-${{ github.sha }}-Win-dep-cache
if: github.ref_name == github.event.repository.default_branch && matrix.cloud_provider == 'AWS'
- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -109,7 +109,7 @@ jobs:
vs_version: [ 'VS17' ]
cloud_provider: [ 'AWS', 'AZURE', 'GCP' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Restore cached deps
id: cache-restore-deps
uses: actions/cache/restore@v4
Expand All @@ -131,7 +131,7 @@ jobs:
path: dep-cache
key: ${{ matrix.build_type }}-${{ matrix.platform }}-${{ matrix.vs_version }}-${{ github.sha }}-Win-dep-cache
if: github.ref_name == github.event.repository.default_branch && matrix.cloud_provider == 'AWS'
- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -153,7 +153,7 @@ jobs:
build_type: [ 'Debug', 'Release' ]
cloud_provider: [ 'AWS', 'AZURE', 'GCP' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Homebrew Bash
shell: bash
run: brew install bash
Expand Down Expand Up @@ -192,14 +192,14 @@ jobs:
matrix:
build_type: [ 'Release' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
shell: bash
env:
BUILD_TYPE: ${{ matrix.build_type }}
CLIENT_CODE_COVERAGE: 1
run: ci/build_linux.sh
- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -220,7 +220,7 @@ jobs:
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: ci/test_linux.sh
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
# without the token code cov may fail because of Github limits https://github.com/codecov/codecov-action/issues/557
token: ${{ secrets.CODE_COV_UPLOAD_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jira_close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: snowflakedb/gh-actions
ref: jira_v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jira_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ((github.event_name == 'issue_comment' && github.event.comment.body == 'recreate jira' && github.event.comment.user.login == 'sfc-gh-mkeller') || (github.event_name == 'issues' && github.event.pull_request.user.login != 'whitesource-for-github-com[bot]'))
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: snowflakedb/gh-actions
ref: jira_v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: snowflakedb/whitesource-actions
token: ${{ secrets.WHITESOURCE_ACTION_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snyk-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- name: Checkout Action
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: snowflakedb/whitesource-actions
token: ${{ secrets.WHITESOURCE_ACTION_TOKEN }}
Expand Down

0 comments on commit 8706604

Please sign in to comment.