Skip to content

Commit

Permalink
ci: Update actions to get rid of deprecated... (#767)
Browse files Browse the repository at this point in the history
...node.js runner versions:

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

It might also be relevant for the deprecation of the `set-output` command:

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

which we also don't invoke directly but via our actions.

* specify python-version for setup-python

* Update changelog

* Update .github/workflows/ci.yml

Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>

Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
  • Loading branch information
supervacuus and vaind committed Oct 21, 2022
1 parent 6d235b1 commit e5eeb79
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: make style

build-ios:
name: Xcode Build for iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- run: |
Expand Down Expand Up @@ -107,10 +107,13 @@ jobs:
SYSTEM_VERSION_COMPAT: ${{ matrix.SYSTEM_VERSION_COMPAT }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'

- name: Installing Linux Dependencies
if: ${{ runner.os == 'Linux' && !env['TEST_X86'] }}
Expand Down Expand Up @@ -157,7 +160,7 @@ jobs:
- name: "Upload to codecov.io"
if: ${{ contains(env['RUN_ANALYZER'], 'cov') }}
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3
with:
directory: coverage

Expand All @@ -169,7 +172,7 @@ jobs:
# run on master or the release branch
if: ${{ needs.test.result == 'success' && github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

Expand All @@ -179,7 +182,7 @@ jobs:
zip -r sentry-native.zip .
- name: Upload source artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
# When downloading artifacts, they are double-zipped:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

**Internal**:

- CI: update github actions to upgrade deprecated node runners. ([#767](https://github.com/getsentry/sentry-native/pull/767))

## 0.5.2

**Fixes**:
Expand Down

0 comments on commit e5eeb79

Please sign in to comment.