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
|
tags: e621
|
||||||
|
|
||||||
- name: Set docker run command
|
- 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
|
shell: bash
|
||||||
|
6
.github/workflows/checks.yml
vendored
6
.github/workflows/checks.yml
vendored
@ -13,7 +13,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
@ -27,7 +27,7 @@ jobs:
|
|||||||
tags: e621
|
tags: e621
|
||||||
|
|
||||||
rubocop:
|
rubocop:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: docker-build
|
needs: docker-build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
run: $DOCKER_RUN rubocop --format github
|
run: $DOCKER_RUN rubocop --format github
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: docker-build
|
needs: docker-build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user