Skip to content

refactor(driver): rename BackgroundWorker to SystemBackend #2

refactor(driver): rename BackgroundWorker to SystemBackend

refactor(driver): rename BackgroundWorker to SystemBackend #2

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags:
- "v*"
pull_request:
branches:
- "**"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.12.2
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: make test
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Start service containers
run: make compose-up
- name: Run integration tests
run: make test-integration GOTESTFLAGS="-covermode=atomic -coverprofile=cover.out"
- name: Stop service containers
if: always()
run: make compose-down
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v4
with:
files: ./cover.out
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build binary
run: make build