diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 85f3b6c2..14fbae98 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -6,7 +6,7 @@ jobs: matrix: go: ["1.14", "1.13", "1.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.3.4 - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} @@ -14,7 +14,7 @@ jobs: node-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.3.4 - uses: actions/setup-node@v1 with: node-version: "10.x" @@ -22,14 +22,14 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.3.4 - uses: actions/setup-go@v2 with: go-version: "1.13" - run: | - GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint - export PATH=$GOPATH/bin:$PATH - golangci-lint run ./... + GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint + export PATH=$GOPATH/bin:$PATH + golangci-lint run ./... env: GOPATH: /tmp/gopath go-test: @@ -38,7 +38,7 @@ jobs: matrix: go: ["1.14", "1.13", "1.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.3.4 - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} diff --git a/README.md b/README.md index 76991928..02b47d06 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Hound [![Build Status](https://travis-ci.org/hound-search/hound.svg?branch=master)](https://travis-ci.org/hound-search/hound) +[![.github/workflows/go.yaml](https://github.com/hound-search/hound/workflows/.github/workflows/go.yaml/badge.svg)](https://github.com/hound-search/hound/actions) Hound is an extremely fast source code search engine. The core is based on this article (and code) from Russ Cox: [Regular Expression Matching with a Trigram Index](http://swtch.com/~rsc/regexp/regexp4.html). Hound itself is a static