From 8ff0734c75729eb5957e1ba92044f59e67d9647e Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Wed, 8 Mar 2023 10:51:50 -0800 Subject: [PATCH] [github-actions] update otns to python 3.9 (#8845) --- .github/workflows/otns.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/otns.yml b/.github/workflows/otns.yml index d6ee58acd..e36a0e1eb 100644 --- a/.github/workflows/otns.yml +++ b/.github/workflows/otns.yml @@ -55,7 +55,7 @@ jobs: unittests: name: Unittests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Harden Runner uses: step-security/harden-runner@c8454efe5d0bdefd25384362fe217428ca277d57 # v2.2.0 @@ -65,11 +65,11 @@ jobs: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: - go-version: '1.14' - - name: Set up Python 3.6 + go-version: "1.20" + - name: Set up Python uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: - python-version: 3.6 + python-version: "3.9" - name: Bootstrap run: | sudo rm /etc/apt/sources.list.d/* && sudo apt-get update @@ -100,16 +100,16 @@ jobs: examples: name: Examples - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: - go-version: '1.14' - - name: Set up Python 3.6 + go-version: "1.20" + - name: Set up Python uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: - python-version: 3.6 + python-version: "3.9" - name: Bootstrap run: | sudo rm /etc/apt/sources.list.d/* && sudo apt-get update @@ -140,7 +140,7 @@ jobs: stress-tests: name: Stress ${{ matrix.suite }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -168,11 +168,11 @@ jobs: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: - go-version: '1.14' - - name: Set up Python 3.6 + go-version: "1.20" + - name: Set up Python uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: - python-version: 3.6 + python-version: "3.9" - name: Bootstrap run: | sudo rm /etc/apt/sources.list.d/* && sudo apt-get update @@ -206,7 +206,7 @@ jobs: - unittests - examples - stress-tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Harden Runner uses: step-security/harden-runner@c8454efe5d0bdefd25384362fe217428ca277d57 # v2.2.0