Skip to content

Commit

Permalink
Use Ubuntu 20.04 for Github Actions (5afe#1024)
Browse files Browse the repository at this point in the history
- `ubuntu-latest` is currently set to Ubuntu-22.04 which we have issues with when linking the bundled OpenSSL library.
- `ubuntu-latest` is however in a rollout stage. Therefore, we might either use an instance of Ubuntu-22.04 or Ubuntu-20.04 – see actions/runner-images#6399
- We should set the image to `ubuntu-20.04` until the linking issue with OpenSSL is solved on newer images
  • Loading branch information
fmrsabino authored and slon2015 committed Aug 11, 2023
1 parent a7c7208 commit 0f54a8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
jobs:

rustfmt:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout branch
uses: actions/checkout@v2
Expand All @@ -28,7 +28,7 @@ jobs:
args: --all --check

tests:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

services:
# Label used to access the service container
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
path-to-lcov: ${{ steps.coverage.outputs.report }}

docs:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [ rustfmt, tests ]
if: github.ref == 'refs/heads/main'
steps:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
publish_dir: ./target/doc

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
DOCKERHUB_ORG: safeglobal
DOCKERHUB_PROJECT: safe-client-gateway
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
run: bash scripts/deploy_docker.sh develop

autodeploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [deploy]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
Expand Down

0 comments on commit 0f54a8f

Please sign in to comment.