letterbox

A simple SMTP to Maildir delivery agent
git clone https://www.brianlane.com/git/letterbox
Log | Files | Refs | README | LICENSE

lint.yml (573B)


      1 name: Lint
      2 on:
      3   push:
      4     branches: [ master ]
      5   pull_request:
      6     branches: [ master ]
      7 jobs:
      8   test:
      9     name: Run golangci-lint
     10     runs-on: ubuntu-latest
     11     steps:
     12     - name: Set up Go
     13       uses: actions/setup-go@v1
     14       with:
     15         go-version: '1.14'
     16     - name: Check out code
     17       uses: actions/checkout@v2
     18     - name: Install golangci-lint
     19       run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.23.7
     20     - name: Run golangci-lint
     21       run: $(go env GOPATH)/bin/golangci-lint run