forked from e621ng/e621ng
[CI] Unbreak testing flow
The images removed/are in the process of removing compose v1. This also pins to an actual version instead of always using latest. Seems like a smart thing to do. https://github.com/actions/runner-images/issues/9557
This commit is contained in:
parent
af46da355d
commit
34ae02b300
2
.github/prepare-docker-image/action.yml
vendored
2
.github/prepare-docker-image/action.yml
vendored
@ -15,5 +15,5 @@ runs:
|
||||
tags: e621
|
||||
|
||||
- name: Set docker run command
|
||||
run: echo "DOCKER_RUN=docker-compose run -e CI=true" >> "$GITHUB_ENV"
|
||||
run: echo "DOCKER_RUN=docker compose run -e CI=true" >> "$GITHUB_ENV"
|
||||
shell: bash
|
||||
|
6
.github/workflows/checks.yml
vendored
6
.github/workflows/checks.yml
vendored
@ -13,7 +13,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
docker-build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
tags: e621
|
||||
|
||||
rubocop:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: docker-build
|
||||
|
||||
steps:
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
run: $DOCKER_RUN rubocop --format github
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: docker-build
|
||||
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user