Update checkout and setup actions to latest versions

Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
This commit is contained in:
Keith Battocchi 2024-01-31 13:52:04 -05:00 коммит произвёл Keith Battocchi
Родитель af7ba5d738
Коммит ed4ab1ce2e
3 изменённых файлов: 16 добавлений и 16 удалений

18
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -38,7 +38,7 @@ jobs:
name: Evaluate changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ env.ref }}
@ -95,11 +95,11 @@ jobs:
if: ${{ needs.eval.outputs.testCode == 'True' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ env.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: '3.9'
@ -130,11 +130,11 @@ jobs:
env:
id_string: ${{ matrix.kind }}-${{ matrix.version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ env.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: ${{ matrix.version }}
@ -235,11 +235,11 @@ jobs:
env:
id_string: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.kind }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ env.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: ${{ matrix.python-version }}
@ -290,7 +290,7 @@ jobs:
if: success() || failure()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ env.ref }}
@ -299,7 +299,7 @@ jobs:
with:
name: coverage
path: coverage
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: '3.8'

4
.github/workflows/publish-documentation.yml поставляемый
Просмотреть файл

@ -63,11 +63,11 @@ jobs:
name: Create and publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: 3.8 # because of our supported TensorFlow versions, must build on 3.6-3.8

10
.github/workflows/publish-package.yml поставляемый
Просмотреть файл

@ -58,11 +58,11 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: 3.9
@ -82,11 +82,11 @@ jobs:
name: Build sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout repository
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: 3.8 # because of our supported TensorFlow versions, must build on 3.6-3.8
@ -106,7 +106,7 @@ jobs:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: 3.9