Skip to content

all: add badges (#9) #22

all: add badges (#9)

all: add badges (#9) #22

Workflow file for this run

name: Bigcache Pull Request Check
on:
pull_request:
paths:
- 'bigcache/**'
push:
paths:
- 'bigcache/**'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Build
run: cd bigcache && go build -v ./...
- name: Test
run: cd bigcache && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./bigcache/coverage.out
flags: bigcache
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}