Skip to content

Commit

Permalink
Update CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tchoutri committed Jan 12, 2025
1 parent e293d8f commit 646d611
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
generateMatrix:
name: "Generate matrix from cabal"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -21,7 +21,7 @@ jobs:
uses: kleidukos/[email protected]
with:
cabal-file: flora.cabal
ubuntu-version: "latest"
ubuntu-version: "22.04"
version: 0.1.7.1

Backend_tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- synchronize
jobs:
lint-changelog:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: "actions/checkout@v4"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Publish Docker Image

on:
on:
push:
branches: ["development"]
paths:
- Dockerfile
- Dockerfile
- docker-compose.yml
- scripts/.zshrc

jobs:
publish-hello-docker-image:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/duplicate-indexes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
generateMatrix:
name: "Generate matrix from cabal"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -21,7 +21,7 @@ jobs:
uses: kleidukos/[email protected]
with:
cabal-file: flora.cabal
ubuntu-version: "latest"
ubuntu-version: "22.04"
version: 0.1.7.1

duplicate-index-check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Frontend_tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
fourmolu:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -20,7 +20,7 @@ jobs:
app/**/*.hs
hlint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/missing-fk-indexes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
generateMatrix:
name: "Generate matrix from cabal"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -21,7 +21,7 @@ jobs:
uses: kleidukos/[email protected]
with:
cabal-file: flora.cabal
ubuntu-version: "latest"
ubuntu-version: "22.04"
version: 0.1.7.1

missing-fk-index-check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt -y update
sudo apt -y install postgresql-14 g++ mcpp libffi7 llvm zlib1g-dev
sudo apt -y install postgresql-16 g++ mcpp libffi7 llvm zlib1g-dev

wget https://github.com/souffle-lang/souffle/releases/download/2.2/x86_64-ubuntu-2004-souffle-2.2-Linux.deb
sudo dpkg -i ./x86_64-ubuntu-2004-souffle-2.2-Linux.deb
6 changes: 3 additions & 3 deletions .github/workflows/test-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Build Docker Image

on:
on:
pull_request:
branches: ["main", "development"]
paths:
- Dockerfile
- Dockerfile
- docker-compose.yml
- scripts/.zshrc

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
Expand Down

0 comments on commit 646d611

Please sign in to comment.