Skip to content

Bump actions/setup-go from 3.5.0 to 5.3.0 #208

Bump actions/setup-go from 3.5.0 to 5.3.0

Bump actions/setup-go from 3.5.0 to 5.3.0 #208

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/setup-go@v5.3.0
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