From 1e6809f425248ce9448f410829f0ef234a0e9645 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 19 Mar 2024 15:26:16 +0100 Subject: [PATCH] update to GHA using Node 20 --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 10 +++++----- changelog.d/+node_20.infrastructure.md | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 changelog.d/+node_20.infrastructure.md diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 11299328..dd954ce3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,7 +14,7 @@ jobs: B2_PYPI_PASSWORD: ${{ secrets.B2_PYPI_PASSWORD }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} @@ -35,7 +35,7 @@ jobs: version: ${{ steps.build.outputs.version }} - name: Create GitHub release and upload the distribution id: create-release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ steps.build.outputs.version }} body: ${{ steps.read-changelog.outputs.changes }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6616ed14..21a513d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: codespell-project/actions-codespell@2391250ab05295bddd51e36a8c6295edb6343b0e @@ -38,7 +38,7 @@ jobs: needs: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} @@ -57,7 +57,7 @@ jobs: B2_TEST_APPLICATION_KEY_ID: ${{ secrets.B2_TEST_APPLICATION_KEY_ID }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead with: fetch-depth: 0 @@ -94,7 +94,7 @@ jobs: - os: "windows-latest" python-version: "pypy3.10" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} @@ -113,7 +113,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} diff --git a/changelog.d/+node_20.infrastructure.md b/changelog.d/+node_20.infrastructure.md new file mode 100644 index 00000000..3e6733e3 --- /dev/null +++ b/changelog.d/+node_20.infrastructure.md @@ -0,0 +1 @@ +Update to [GitHub Actions using Node 20](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/).