You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on:
push:
branches: [ master ]pull_request:
branches: [ master ]name: Gojobs:
test:
name: Teststrategy:
matrix:
go-version: [1.14.x]platform: [ubuntu-latest]runs-on: ${{ matrix.platform }}steps:
- name: Set up Go 1.xuses: actions/setup-go@v2with:
go-version: ${{ matrix.go-version }}id: go
- name: Check out code into the Go module directoryuses: actions/checkout@v2
- name: Cache Go moduleuses: actions/cache@v2with:
path: ~/go/pkg/modkey: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}restore-keys: | ${{ runner.os }}-go-
- name: Get dependencesrun: make dep
- name: Check code issues by vetrun: make vet
- name: Testrun: make test
- name: Test Coveragerun: make test-coverage
- name: Post coverage data to Codecovuses: codecov/codecov-action@v1with:
token: ${{ secrets.CODECOV_TOKEN }}file: ./coverage.txt
- name: Clean Makerun: make cleanlint:
name: Lintstrategy:
matrix:
go-version: [1.14.x]platform: [ubuntu-latest]runs-on: ${{ matrix.platform }}steps:
- name: Check out code into the Go module directoryuses: actions/checkout@v2
- name: Lint Go code with reviveuses: docker://morphy/revive-action:v1with:
config: ./revive.tomlpath: ./...env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}build:
name: Buildstrategy:
matrix:
go-version: [1.14.x]platform: [ubuntu-latest]runs-on: ${{ matrix.platform }}steps:
- name: Set up Go 1.xuses: actions/setup-go@v2with:
go-version: ${{ matrix.go-version }}id: go
- name: Check out code into the Go module directoryuses: actions/checkout@v2
- name: Cache Go moduleuses: actions/cache@v2with:
path: ~/go/pkg/modkey: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}restore-keys: | ${{ runner.os }}-go-
- name: Buildrun: make build
The text was updated successfully, but these errors were encountered:
Summary
i. create a PR to a repo that configured revive action
ii. it will be failed as unexpected
attachment
the log is as below:
the workflow file:
The text was updated successfully, but these errors were encountered: