Skip to content

Allow DP to retry Handshake if node was offline and lost authentication #179

Allow DP to retry Handshake if node was offline and lost authentication

Allow DP to retry Handshake if node was offline and lost authentication #179

Workflow file for this run

name: Go lint provider & node
on:
push:
branches: ["wip-*", "feature-*", "hot-fix-*"]
pull_request:
branches: ["main", "stage", "development"]
jobs:
golang-ci:
strategy:
matrix:
go: [1.18, 1.19]
directory: ["node", "data-provider"]
runs-on: ubuntu-latest
steps:
- name: Setup branch
uses: actions/checkout@v3
- name: Setup go environment
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
- name: cd Directory, copy .golangci.yml, run linter
run: |
cd ${{ matrix.directory }}
cp ../.golangci.yml .
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
$(go env GOPATH)/bin/golangci-lint run . -v -E goimports --fix