added ubuntu-latest runner

pull/1062/head
guptaankit015 2021-08-26 19:17:54 +05:30
parent 0c72195683
commit 7d2090cf80
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: CI
on: [ push ] on: [ push ]
jobs: jobs:
cancel: cancel:
runs-on: [self-hosted] runs-on: [self-hosted, ubuntu-latest]
name: Cancel Previous Runs name: Cancel Previous Runs
if: always() if: always()
steps: steps:
@ -20,7 +20,7 @@ jobs:
build-statping-docker-image: build-statping-docker-image:
name: Docker image - statping name: Docker image - statping
runs-on: [self-hosted] runs-on: [self-hosted, ubuntu-latest]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build and push - name: Build and push
@ -37,7 +37,7 @@ jobs:
fmt: fmt:
name: fmt name: fmt
runs-on: [self-hosted] runs-on: [self-hosted, ubuntu-latest]
continue-on-error: false continue-on-error: false
steps: steps:
- name: checkout - name: checkout
@ -52,7 +52,7 @@ jobs:
args: ./scripts/run_tests.sh fmt drone args: ./scripts/run_tests.sh fmt drone
workflow_status: workflow_status:
runs-on: [self-hosted] runs-on: [self-hosted, ubuntu-latest]
name: Update Status Check name: Update Status Check
needs: [ build-statping-docker-image] needs: [ build-statping-docker-image]
if: always() if: always()