Skip to content

APPS-1063 Expose a flag to configure structured logging format #847

APPS-1063 Expose a flag to configure structured logging format

APPS-1063 Expose a flag to configure structured logging format #847

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x]
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: go test -race -tags=ci ./... -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build
run: |
cd cmd/backup
go build -tags=ci .