From 286242182052eb9bfc48c4f2c4a973cefa14ca13 Mon Sep 17 00:00:00 2001 From: Travis Ralston <travpc@gmail.com> Date: Sat, 26 Aug 2023 12:32:36 -0600 Subject: [PATCH] Change static checks --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73e8edeb..dda49c16 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,16 +21,14 @@ jobs: - uses: actions/setup-go@v4 with: go-version: '1.20' - - name: "Install libheif" - run: "chmod +x ./.github/workflows/build-libheif.sh && ./.github/workflows/build-libheif.sh" - name: "Prepare: compile assets" run: "GOBIN=$PWD/bin go install -v ./cmd/compile_assets" - name: "Run: compile assets" run: "$PWD/bin/compile_assets" - name: "Prepare: staticcheck" run: 'go install honnef.co/go/tools/cmd/staticcheck@latest' - - run: 'go vet ./...' - - run: 'staticcheck ./...' + - run: 'go vet ./cmd/...' + - run: 'staticcheck ./cmd/...' test: name: 'Go Test (1.20)' runs-on: ubuntu-latest -- GitLab