Skip to content

fix: wrong trustyai env variable name #21

fix: wrong trustyai env variable name

fix: wrong trustyai env variable name #21

Workflow file for this run

name: linters
on:
push:
branches:
- main
- incubation
pull_request:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
env:
REPOSITORY: ${{ github.repository }}
steps:
- name: Set up Go env
uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v4
with:
path: go/src/github.com/${{ env.REPOSITORY }}
- name: Set $GOPATH
run: |
echo "GOPATH=${{ github.workspace }}/go" >> $GITHUB_ENV
echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.0
working-directory: go/src/github.com/${{ env.REPOSITORY }}
args: --timeout 5m0s