Skip to content

Commit

Permalink
CI - update GitHub actions (#6153)
Browse files Browse the repository at this point in the history
Use the latest versions of GitHub actions, namely

- update actions/checkout@v2 --> v3
- update actions/setup-python@v1 --> v4

Related to #6147
  • Loading branch information
pavoljuhas authored Jun 21, 2023
1 parent 1bae543 commit b337659
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
partition: [partition-0, partition-1, partition-2, partition-3]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand Down
80 changes: 40 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
name: Misc check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -28,8 +28,8 @@ jobs:
name: Packaging test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -41,10 +41,10 @@ jobs:
name: Format check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -56,8 +56,8 @@ jobs:
name: Type check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -69,10 +69,10 @@ jobs:
name: Changed files test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -84,8 +84,8 @@ jobs:
name: Lint check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -99,8 +99,8 @@ jobs:
name: Doc test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -114,8 +114,8 @@ jobs:
name: Notebook formatting
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -127,7 +127,7 @@ jobs:
name: Shell check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run shellcheck
Expand All @@ -136,8 +136,8 @@ jobs:
name: Isolated pytest Ubuntu
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -152,8 +152,8 @@ jobs:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
Expand All @@ -175,8 +175,8 @@ jobs:
name: Check consistency of requirements
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -189,8 +189,8 @@ jobs:
name: Build docs
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -203,10 +203,10 @@ jobs:
name: Build protos
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -219,10 +219,10 @@ jobs:
name: Coverage check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -247,8 +247,8 @@ jobs:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
Expand All @@ -272,7 +272,7 @@ jobs:
python-version: [ '3.7.16', '3.8', '3.9', '3.10' ]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -297,10 +297,10 @@ jobs:
partition: [partition-0, partition-1, partition-2, partition-3]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -317,8 +317,8 @@ jobs:
name: Notebook Tests against PR
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand All @@ -335,7 +335,7 @@ jobs:
name: Bundle file consistency
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '14.16.1'
Expand All @@ -347,7 +347,7 @@ jobs:
name: Typescript lint check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '14.16.1'
Expand All @@ -359,7 +359,7 @@ jobs:
name: Typescript tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '14.16.1'
Expand All @@ -373,7 +373,7 @@ jobs:
name: Typescript tests coverage
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '14.16.1'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
env:
NAME: dev-release
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
architecture: 'x64'
Expand Down

0 comments on commit b337659

Please sign in to comment.