Upgrades #449
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
name: Lint and fmt check | |
runs-on: | |
group: proxmox-ubuntu | |
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: | |
group: proxmox-ubuntu | |
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@v5 | |
with: | |
fail_ci_if_error: true # optional (default = false) | |
files: ./coverage.txt | |
- 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 |