[CI] use the docker label instead of ubuntu-latest
This commit is contained in:
parent
4b968afdb0
commit
b6a6470db6
5 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-backend:
|
lint-backend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
TAGS: bindata sqlite sqlite_unlock_notify
|
||||||
checks-backend:
|
checks-backend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-mysql:
|
test-mysql:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: codeberg.org/forgejo/test_env:main
|
image: codeberg.org/forgejo/test_env:main
|
||||||
services:
|
services:
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-pgsql:
|
test-pgsql:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: codeberg.org/forgejo/test_env:main
|
image: codeberg.org/forgejo/test_env:main
|
||||||
services:
|
services:
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-sqlite:
|
test-sqlite:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: codeberg.org/forgejo/test_env:main
|
image: codeberg.org/forgejo/test_env:main
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-unit:
|
test-unit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: codeberg.org/forgejo/test_env:main
|
image: codeberg.org/forgejo/test_env:main
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue