github.com/maeglindeveloper/gqlgen@v0.13.1-0.20210413081235-57808b12a0a0/.github/workflows/lint.yml (about)

     1  name: Lint
     2  on: [push, pull_request]
     3  
     4  jobs:
     5    lint:
     6      runs-on: ubuntu-latest
     7      steps:
     8        - uses: actions/checkout@v1
     9        - uses: actions/setup-go@v2
    10          with: { go-version: 1.14 }
    11        - run: go mod download
    12        - run: .github/workflows/check-fmt
    13        - run: .github/workflows/check-linting
    14        - run: .github/workflows/check-generate
    15  
    16    coverage:
    17      runs-on: ubuntu-latest
    18      steps:
    19        - uses: actions/checkout@v1
    20        - uses: actions/setup-go@v2
    21          with: { go-version: 1.14 }
    22        - run: go mod download
    23        - run: .github/workflows/check-coverage
    24          env:
    25            COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}