From b6a6470db6c8bae9963e204f9c8c408f309e81e3 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 11 Jun 2023 00:03:27 +0200 Subject: [PATCH] [CI] use the docker label instead of ubuntu-latest --- .forgejo/workflows/compliance.yml | 4 ++-- .forgejo/workflows/testing-mysql.yml | 2 +- .forgejo/workflows/testing-psql.yml | 2 +- .forgejo/workflows/testing-sqlite.yml | 2 +- .forgejo/workflows/testing-unit.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/compliance.yml b/.forgejo/workflows/compliance.yml index 3e50ae7038..62abd1c3be 100644 --- a/.forgejo/workflows/compliance.yml +++ b/.forgejo/workflows/compliance.yml @@ -9,7 +9,7 @@ on: jobs: lint-backend: - runs-on: ubuntu-latest + runs-on: docker steps: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 @@ -21,7 +21,7 @@ jobs: env: TAGS: bindata sqlite sqlite_unlock_notify checks-backend: - runs-on: ubuntu-latest + runs-on: docker steps: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 diff --git a/.forgejo/workflows/testing-mysql.yml b/.forgejo/workflows/testing-mysql.yml index d2d4f420f8..2d69bb2baf 100644 --- a/.forgejo/workflows/testing-mysql.yml +++ b/.forgejo/workflows/testing-mysql.yml @@ -9,7 +9,7 @@ on: jobs: test-mysql: - runs-on: ubuntu-latest + runs-on: docker container: image: codeberg.org/forgejo/test_env:main services: diff --git a/.forgejo/workflows/testing-psql.yml b/.forgejo/workflows/testing-psql.yml index 7e6361bca4..a6caf3eb74 100644 --- a/.forgejo/workflows/testing-psql.yml +++ b/.forgejo/workflows/testing-psql.yml @@ -9,7 +9,7 @@ on: jobs: test-pgsql: - runs-on: ubuntu-latest + runs-on: docker container: image: codeberg.org/forgejo/test_env:main services: diff --git a/.forgejo/workflows/testing-sqlite.yml b/.forgejo/workflows/testing-sqlite.yml index 858fce371b..69e3dc994d 100644 --- a/.forgejo/workflows/testing-sqlite.yml +++ b/.forgejo/workflows/testing-sqlite.yml @@ -9,7 +9,7 @@ on: jobs: test-sqlite: - runs-on: ubuntu-latest + runs-on: docker container: image: codeberg.org/forgejo/test_env:main steps: diff --git a/.forgejo/workflows/testing-unit.yml b/.forgejo/workflows/testing-unit.yml index a17c73d4f8..ab6be735b9 100644 --- a/.forgejo/workflows/testing-unit.yml +++ b/.forgejo/workflows/testing-unit.yml @@ -9,7 +9,7 @@ on: jobs: test-unit: - runs-on: ubuntu-latest + runs-on: docker container: image: codeberg.org/forgejo/test_env:main steps: