Skip to content

Merge branch 'v0.2.0' of https://github.com/devnyxie/katsuragi into v… #8

Merge branch 'v0.2.0' of https://github.com/devnyxie/katsuragi into v…

Merge branch 'v0.2.0' of https://github.com/devnyxie/katsuragi into v… #8

Workflow file for this run

name: CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
cache-dependency-path: cachedDependencies/go.sum
- name: Install dependencies
run: go get .
- name: Run tests
run: go test -v ./... -coverprofile=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.out
flags: unittests
name: codecov-go-example
fail_ci_if_error: true