Skip to content

Commit

Permalink
[.github] update versions of actions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
EskoDijk committed Aug 19, 2023
1 parent ce347c7 commit 4c4f53d
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 34 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -47,12 +47,12 @@ jobs:
fail-fast: false
matrix:
go: [ 1.18 ]
os: [ ubuntu-20.04, macos-11 ]
os: [ ubuntu-22.04, macos-11 ]
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build
run: |
./script/install-deps
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -51,15 +51,15 @@ jobs:
matrix:
go: [1.18]
python-version: [3.7]
os: [ubuntu-20.04]
os: [ubuntu-22.04]
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build
run: |
docker build -t otns-env -f etc/docker/environment/Dockerfile .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -43,7 +43,7 @@ jobs:

buildx:
name: buildx-${{ matrix.version }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020, The OTNS Authors.
# Copyright (c) 2020-2023, The OTNS Authors.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -33,7 +33,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -42,14 +42,14 @@ jobs:

go-lint:
name: Go Lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: 1.18
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check pretty
run: |
./script/check-pretty
12 changes: 6 additions & 6 deletions .github/workflows/stress.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020, The OTNS Authors.
# Copyright (c) 2020-2023, The OTNS Authors.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -33,7 +33,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -48,20 +48,20 @@ jobs:
python-version: [3.7]
go-version: [1.18]
suite: ["network-forming", "commissioning", "connectivity", "network-latency", "multicast-performance", "otns-performance", "network-limits"]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: |
mkdir -p /home/runner/work/_temp/_github_home
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Stress Test
env:
STRESS_LEVEL: 10
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:

jobs:
cancel-previous-runs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
Expand All @@ -46,19 +46,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11]
os: [ubuntu-22.04, macos-11]
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: 1.18
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Test
run: |
./script/test go-tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3

py-unittests:
name: Unittests (${{ matrix.os }})
Expand All @@ -67,18 +67,18 @@ jobs:
fail-fast: false
matrix:
python-version: [3.7]
os: [ubuntu-20.04, macos-11]
os: [ubuntu-22.04, macos-11]
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Test
run: |
./script/test py-unittests
Expand All @@ -90,18 +90,18 @@ jobs:
fail-fast: false
matrix:
python-version: [3.7]
os: [ubuntu-20.04, macos-11]
os: [ubuntu-22.04, macos-11]
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run Examples
run: |
./script/test py-examples

0 comments on commit 4c4f53d

Please sign in to comment.