[CI] use the docker label instead of ubuntu-latest

This commit is contained in:
Earl Warren 2023-06-11 00:03:27 +02:00
parent 4b968afdb0
commit b6a6470db6
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: