mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Updates build environment to Ubuntu 22.04
Creates environment variable to set OS version
This commit is contained in:
committed by
Jean-Baptiste Bellet
parent
15058299d8
commit
7d51979c06
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -17,8 +17,10 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
env:
|
||||
runs_on: ubuntu-22.04
|
||||
knapsack_rspec_controllers:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -87,7 +89,7 @@ jobs:
|
||||
bundle exec rake knapsack_pro:rspec
|
||||
|
||||
knapsack_rspec_models:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -156,7 +158,7 @@ jobs:
|
||||
bundle exec rake knapsack_pro:rspec
|
||||
|
||||
knapsack_rspec_system_admin:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -234,7 +236,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
|
||||
knapsack_rspec_system_consumer:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -312,7 +314,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
|
||||
knapsack_rspec_engines:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -390,7 +392,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
|
||||
knapsack_rspec_test_the_rest:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
@@ -460,7 +462,7 @@ jobs:
|
||||
bundle exec rake knapsack_pro:rspec
|
||||
|
||||
non_knapsack_jest_karma:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: $runs_on
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
|
||||
Reference in New Issue
Block a user