Skip to content

chore: Update runs-on value in ci.yml to use ubuntu-latest #216

chore: Update runs-on value in ci.yml to use ubuntu-latest

chore: Update runs-on value in ci.yml to use ubuntu-latest #216

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Lint and fmt check
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Linting and fmt check
run: make lint
build:
name: CI on Go
runs-on: self-hosted
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Start dependencies
run: make deps-start
- name: Running CI
run: |
sleep 30
make ci
- name: Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
files: ./coverage.txt
name: codecov-umbrella # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
- name: e2e
run: |
go build -o service ./service/
nohup ./service/service &
go run client/main.go
working-directory: ./examples
env:
OTEL_EXPORTER_OTLP_INSECURE : true
- name: Stop dependencies
run: make deps-stop