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:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository_owner == 'hwdsl2' && github.event_name == 'push'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
shellcheck **/*.sh
|
||||
|
||||
test_set_1:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository_owner == 'hwdsl2'
|
||||
strategy:
|
||||
matrix:
|
||||
@ -245,7 +245,7 @@ jobs:
|
||||
docker rmi "${OS_VERSION//:}-test" || true
|
||||
|
||||
test_set_2:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository_owner == 'hwdsl2'
|
||||
strategy:
|
||||
matrix:
|
||||
|
Loading…
Reference in New Issue
Block a user