Update workflows
- Use Ubuntu 20.04 as GitHub Actions runner
This commit is contained in:
parent
ccd072541b
commit
b0f60d70bd
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
if: github.repository_owner == 'hwdsl2' && github.event_name == 'push'
|
if: github.repository_owner == 'hwdsl2' && github.event_name == 'push'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
shellcheck **/*.sh
|
shellcheck **/*.sh
|
||||||
|
|
||||||
test_set_1:
|
test_set_1:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
if: github.repository_owner == 'hwdsl2'
|
if: github.repository_owner == 'hwdsl2'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -245,7 +245,7 @@ jobs:
|
|||||||
docker rmi "${OS_VERSION//:}-test" || true
|
docker rmi "${OS_VERSION//:}-test" || true
|
||||||
|
|
||||||
test_set_2:
|
test_set_2:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
if: github.repository_owner == 'hwdsl2'
|
if: github.repository_owner == 'hwdsl2'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user