From 0fcf5e0a38cdf17c2e0039d6ae16e4bf15c71e9e Mon Sep 17 00:00:00 2001 From: pengyin-shan Date: Wed, 23 Nov 2022 11:44:14 -0500 Subject: [PATCH] fix #266: change to ubuntu20.04 for wkhtmltopdf-binary --- .github/workflows/brakeman.yml | 2 +- .github/workflows/danger.yml | 2 +- .github/workflows/docker-push-image.yml | 2 +- .github/workflows/eslint.yml | 2 +- .github/workflows/mysql.yml | 2 +- .github/workflows/postgres.yml | 2 +- .github/workflows/rubocop.yml | 2 +- .github/workflows/ruby.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/brakeman.yml b/.github/workflows/brakeman.yml index 05dfe19ae2..5b7b9e38cb 100644 --- a/.github/workflows/brakeman.yml +++ b/.github/workflows/brakeman.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: brakeman: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index efec902f0a..6f9cffda4e 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: danger: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/docker-push-image.yml b/.github/workflows/docker-push-image.yml index 3b6e6db98a..a46747062c 100644 --- a/.github/workflows/docker-push-image.yml +++ b/.github/workflows/docker-push-image.yml @@ -12,7 +12,7 @@ on: jobs: push_to_registry: name: Push Docker image to Docker Hub - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Check out the repo uses: actions/checkout@v2 diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 3516dd87e4..2c5e1eb58f 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: eslint: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index a4bba1ba9b..331a981385 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: mysql: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: DB_ADAPTER: mysql2 diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index d43fee26d2..3d340eefda 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: postgresql: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 services: # Postgres installation diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index af4e50c901..be400b9163 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: rubocop: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 1984425df9..e736a45646 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -15,7 +15,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: DB_ADAPTER: mysql2