mirror of
https://github.com/danog/gojekyll.git
synced 2024-11-30 06:48:59 +01:00
Move golangci-lint from Travis -> GitHub Actions
This commit is contained in:
parent
9838291a01
commit
c0b42ad7f9
10
.github/workflows/golangci-lint.yml
vendored
Normal file
10
.github/workflows/golangci-lint.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
name: golangci-lint
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
@ -26,7 +26,6 @@ install:
|
||||
|
||||
script:
|
||||
- test -n "$TRAVIS_TAG" || $HOME/gopath/bin/goveralls -service=travis-ci
|
||||
- test -n "$TRAVIS_TAG" || make lint
|
||||
|
||||
after_success:
|
||||
# - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
|
||||
|
1
Makefile
1
Makefile
@ -36,7 +36,6 @@ release: build
|
||||
tar -cvzf dist/$(BINARY)_$(VERSION)_$(OS:GNU/%=%)_$(shell uname -m).tar.gz $(BINARY) LICENSE README.md
|
||||
|
||||
setup:
|
||||
go mod init || true
|
||||
go get -t -u ./...
|
||||
|
||||
install:
|
||||
|
11
README.md
11
README.md
@ -1,6 +1,10 @@
|
||||
# Gojekyll
|
||||
|
||||
[![][travis-svg]][travis-url] [![][coveralls-svg]][coveralls-url] [![][go-report-card-svg]][go-report-card-url] [![][license-svg]][license-url]
|
||||
[![Travis badge][travis-svg]][travis-url]
|
||||
[![Golangci-lint badge][golangci-lint-svg]][golangci-lint-url]
|
||||
[![Coveralls badge][coveralls-svg]][coveralls-url]
|
||||
[![Go Report Card badge][go-report-card-svg]][go-report-card-url]
|
||||
[![MIT License][license-svg]][license-url]
|
||||
|
||||
Gojekyll is a partially-compatible clone of the [Jekyll](https://jekyllrb.com) static site generator, written in the [Go](https://golang.org) programming language. It provides `build` and `serve` commands, with directory watch and live reload.
|
||||
|
||||
@ -230,8 +234,11 @@ MIT
|
||||
[license-url]: https://github.com/osteele/gojekyll/blob/master/LICENSE
|
||||
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
|
||||
[golangci-lint-url]: https://github.com/osteele/gojekyll/actions?query=workflow%3Agolangci-lint
|
||||
[golangci-lint-svg]: https://github.com/osteele/gojekyll/actions/workflows/golangci-lint.yml/badge.svg
|
||||
|
||||
[go-report-card-url]: https://goreportcard.com/report/github.com/osteele/gojekyll
|
||||
[go-report-card-svg]: https://goreportcard.com/badge/github.com/osteele/gojekyll
|
||||
|
||||
[travis-url]: https://travis-ci.org/osteele/gojekyll
|
||||
[travis-url]: https://travis-ci.com/osteele/gojekyll
|
||||
[travis-svg]: https://img.shields.io/travis/osteele/gojekyll.svg?branch=master
|
||||
|
Loading…
Reference in New Issue
Block a user