Skip to content

chore(deps): bump golang.org/x/net from 0.0.0-20210510120150-4163338589ed to 0.17.0 in /api/test/e2enew #22

chore(deps): bump golang.org/x/net from 0.0.0-20210510120150-4163338589ed to 0.17.0 in /api/test/e2enew

chore(deps): bump golang.org/x/net from 0.0.0-20210510120150-4163338589ed to 0.17.0 in /api/test/e2enew #22

Workflow file for this run

name: go-lint
on:
push:
branches:
- master
paths:
- 'api/**'
pull_request:
branches:
- master
paths:
- 'api/**'
jobs:
golangci:
runs-on: ubuntu-latest
needs: go-filter

Check failure on line 17 in .github/workflows/go-lint.yml

View workflow run for this annotation

GitHub Actions / go-lint

Invalid workflow file

The workflow is not valid. .github/workflows/go-lint.yml (Line: 17, Col: 12): Job 'golangci' depends on unknown job 'go-filter'.
if: needs.go-filter.outputs.matches == 'true'
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
working-directory: api
args: --tests=false
only-new-issues: true
gofmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup go
uses: actions/[email protected]
with:
go-version: '1.13'
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: check gofmt
run: |
diffs=`gofmt -l ${{ needs.go-filter.outputs.files }}`
if [[ -n $diffs ]]; then
echo "Files are not formatted by gofmt:"
echo $diffs
exit 1
fi