Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Use Ubuntu 20.04 for Github Actions #1024

Merged
merged 1 commit into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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