Skip to content
Myr

ci: add github action workflows (#2596)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* ci: add github action workflows * test: fixed the TestUnixSocket test on windows (#20) * ci: add github action workflows (#18) * Remove .travis.yml * ci: replace GITTER_ROOM_ID and upload coverage every time you go test * ci: update coverage using codecov/codecov-action@v1 * Merge branch 'master' into github-actions * repo: replace travis ci to github actions * ci: add go version 1.16 * fix: go install requires a specific version * chore(ci): remove go 1.12 support * chore(ci): remove os windows-latest

authored by Jeff · committed by GitHub · parent a8857ed · Browse files · 6 files+73 added−57 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: thinkerou <thinkerou@gmail.com>
  • Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Diff stats

6 files+73 added−57 removed

  • other:+73 added−57 removed

6 files+73 added−57 removed

added:.github/workflows/gin.yml+62 added
modified:.github/PULL_REQUEST_TEMPLATE.md+1 added-1 removed
deleted:.travis.yml-52 removed
modified:CONTRIBUTING.md+1 added-1 removed
modified:Makefile+8 added-2 removed
1GO ?= go2GOFMT ?= gofmt "-s"3GO_VERSION=$(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)4PACKAGES ?= $(shell $(GO) list ./...)5VETPACKAGES ?= $(shell $(GO) list ./... | grep -v /examples/)6GOFILES := $(shell find . -name "*.go")7TESTFOLDER := $(shell $(GO) list ./... | grep -E 'gin$$|binding$$|render$$' | grep -v examples)
59 unmodified lines
67 misspell -w $(GOFILES)6869.PHONY: tools70tools:70 go install golang.org/x/lint/golint; \71 go install github.com/client9/misspell/cmd/misspell;71 @if [ $(GO_VERSION) -gt 15 ]; then \72 $(GO) install golang.org/x/lint/golint@latest; \73 $(GO) install github.com/client9/misspell/cmd/misspell@latest; \74 elif [ $(GO_VERSION) -lt 16 ]; then \75 $(GO) install golang.org/x/lint/golint; \76 $(GO) install github.com/client9/misspell/cmd/misspell; \77 fi
modified:README.md+1 added-1 removed
1# Gin Web Framework23<img align="right" width="159px" src="https://raw.githubusercontent.com/gin-gonic/logo/master/color.png">45[![Build Status](https://travis-ci.org/gin-gonic/gin.svg)](https://travis-ci.org/gin-gonic/gin)5[![Build Status](https://github.com/gin-gonic/gin/workflows/Run%20Tests/badge.svg?branch=master)](https://github.com/gin-gonic/gin/actions?query=branch%3Amaster)6[![codecov](https://codecov.io/gh/gin-gonic/gin/branch/master/graph/badge.svg)](https://codecov.io/gh/gin-gonic/gin)7[![Go Report Card](https://goreportcard.com/badge/github.com/gin-gonic/gin)](https://goreportcard.com/report/github.com/gin-gonic/gin)8[![GoDoc](https://pkg.go.dev/badge/github.com/gin-gonic/gin?status.svg)](https://pkg.go.dev/github.com/gin-gonic/gin?tab=doc)9[![Join the chat at https://gitter.im/gin-gonic/gin](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gin-gonic/gin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2225 unmodified lines