diff options
| author | syeopite <70992037+syeopite@users.noreply.github.com> | 2021-10-02 16:00:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-02 16:00:43 +0000 |
| commit | 570541ba494cce9e6b82027f8b1a2b45643e19c5 (patch) | |
| tree | 672ca185b069229e91c9c0891b7ba54be5553bc1 /.github | |
| parent | 73eabb6ca20f15547aa4baeb89bbecdaf6e7aa3b (diff) | |
| download | invidious-570541ba494cce9e6b82027f8b1a2b45643e19c5.tar.gz invidious-570541ba494cce9e6b82027f8b1a2b45643e19c5.tar.bz2 invidious-570541ba494cce9e6b82027f8b1a2b45643e19c5.zip | |
Run linter in container-release workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/container-release.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index c60d08fe..13d2e3ae 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -23,6 +23,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + + - name: Run lint + run: | + if ! crystal tool format --check; then + crystal tool format + git diff + exit 1 + fi - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -61,4 +69,4 @@ jobs: labels: quay.expires-after=12w push: true tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64 - build-args: release=1
\ No newline at end of file + build-args: release=1 |
