0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2025-01-06 22:40:34 -05:00
imageproxy/.github/workflows/linter.yml
2020-09-09 22:44:48 -07:00

21 lines
399 B
YAML

on: [push, pull_request]
name: linter
jobs:
lint:
strategy:
matrix:
go-version: [1.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.31
- name: Run go fmt
run: diff -u <(echo -n) <(gofmt -d -s .)