From 73de67867a52777729e7cf42fda46feb05d0f486 Mon Sep 17 00:00:00 2001 From: virgesmith Date: Sat, 24 Feb 2024 09:28:55 +0000 Subject: [PATCH] update action --- .github/workflows/coverage.yml | 2 +- .github/workflows/pypi-release.yml | 2 +- .github/workflows/python-test.yml | 29 +---------------------------- .github/workflows/r-cmd-check.yml | 2 +- 4 files changed, 4 insertions(+), 31 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 1b91ddf..f8fffb0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,7 +15,7 @@ jobs: matrix: python-version: [ "3.11" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "pip: Python ${{ matrix.python-version }} coverage" uses: actions/setup-python@v4 with: diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index e70f9b1..26a3308 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -11,7 +11,7 @@ jobs: if: "!contains(github.event.head_commit.message, 'Bump version')" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: current_version diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 13f16bc..3ac0383 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -22,7 +22,7 @@ jobs: python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "pip: Python ${{ matrix.python-version }} / ${{ matrix.os }}" uses: actions/setup-python@v4 with: @@ -44,30 +44,3 @@ jobs: run: | python -m pytest - # package: - # needs: build - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v3 - # - name: "pip: Python 3.11 / ubuntu-latest" - # uses: actions/setup-python@v4 - # with: - # python-version: "3.11" - # - name: Bump version - # run: | - # python -m pip install bump2version pybind11 - # bump2version patch - # - name: Create dist - # run: | - # python setup.py sdist - # - name: artifacts - # uses: actions/upload-artifact@v3 - # with: - # name: dt_utils_${{ matrix.python-version }} - # path: | - # dist - # - name: Publish - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # password: ${{ secrets.TEST_PYPI_API_TOKEN }} - # repository-url: https://test.pypi.org/legacy/ \ No newline at end of file diff --git a/.github/workflows/r-cmd-check.yml b/.github/workflows/r-cmd-check.yml index 6aa5c2f..18e3bbb 100644 --- a/.github/workflows/r-cmd-check.yml +++ b/.github/workflows/r-cmd-check.yml @@ -31,7 +31,7 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }}