Skip to content

Merge pull request #5 from viam-modules/vision-yeet #23

Merge pull request #5 from viam-modules/vision-yeet

Merge pull request #5 from viam-modules/vision-yeet #23

Workflow file for this run

name: run linter on each commit
on:
push:
branches:
- main
paths:
- '**/**.go'
- 'Makefile'
- '.github/workflows/lint.yml'
pull_request:
paths:
- '**/**.go'
- 'Makefile'
- '.github/workflows/lint.yml'
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libx264-dev
- name: Run linter
run: make lint