immich-exporter/.github/workflows/test.yml

17 lines
311 B
YAML
Raw Normal View History

name: Test
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run formatter
run: test -z $(gofmt -l ./src)