Skip to content

Commit

Permalink
use main
Browse files Browse the repository at this point in the history
  • Loading branch information
larscom committed Jul 24, 2024
1 parent d037b6c commit 1c7f751
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '**'
pull_request:
branches:
- master
- main

jobs:
build:
Expand All @@ -20,13 +20,6 @@ jobs:
go-version-file: './go.mod'
- run: make build
- run: make test
- run: make coverage
- uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cover.out
verbose: true
slug: larscom/go-cache
- name: Run proxy.golang.org
if: startsWith(github.ref, 'refs/tags/')
run: curl https://proxy.golang.org/github.com/larscom/go-cache/@v/${{ github.ref_name }}.info
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ build:

test:
go test -timeout 5s -v ./.../ --race

coverage:
go test -v -coverprofile=cover.out -covermode=atomic ./.../
go tool cover -html=cover.out -o cover.html
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Go Report Card](https://goreportcard.com/badge/github.com/larscom/go-cache)](https://goreportcard.com/report/github.com/larscom/go-cache)
[![Go Reference](https://pkg.go.dev/badge/github.com/larscom/go-cache.svg)](https://pkg.go.dev/github.com/larscom/go-cache)
[![codecov](https://codecov.io/gh/larscom/go-cache/graph/badge.svg?token=E9wcYNmOYN)](https://codecov.io/gh/larscom/go-cache)

> High performance, simple generic cache written in GO, including a `loading` cache.
Expand Down

0 comments on commit 1c7f751

Please sign in to comment.