From 98cd98d03d7aea4663a42902b43070bd555fbc4f Mon Sep 17 00:00:00 2001 From: "Li-Huai (Allan) Lin" Date: Sun, 14 Jul 2024 18:06:07 -0700 Subject: [PATCH] Update action step versions (#20) --- .github/workflows/CI.yml | 8 +++++--- .github/workflows/Deploy.yml | 8 ++++---- .github/workflows/Status.yml | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d5af8c9..f24c995 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,9 +19,9 @@ jobs: python-version: ['3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -38,4 +38,6 @@ jobs: run: | python -m pytest ./tests --cov=./JciHitachi --cov-report xml --reruns 2 - name: Upload coverage reports to Codecov with GitHub Action - uses: codecov/codecov-action@v2 \ No newline at end of file + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 72f9ff7..3fec0d8 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -10,9 +10,9 @@ jobs: pytest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies @@ -33,9 +33,9 @@ jobs: environment: Deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies diff --git a/.github/workflows/Status.yml b/.github/workflows/Status.yml index 660f3ca..7b3589c 100644 --- a/.github/workflows/Status.yml +++ b/.github/workflows/Status.yml @@ -9,9 +9,9 @@ jobs: pytest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies