From e91a6f99fda77dd17066ad3139829bbb56d05769 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Sat, 29 Jun 2024 21:12:08 +0400 Subject: [PATCH] =?UTF-8?q?wip:=20=F0=9F=94=95=20temporary=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6aaa681..2f6bdaf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: fail-fast: false matrix: os: [linux, darwin, windows] # freebsd - arch: [amd64, arm64] # 386 + arch: [amd64, arm64] # 386 needs: [golangci-lint, go-test] steps: - uses: actions/checkout@v4 @@ -58,11 +58,11 @@ jobs: CGO_ENABLED: 0 LDFLAGS: -s -w -X gh.tarampamp.am/error-pages/internal/appmeta.version=${{ steps.slug.outputs.commit-hash-short }} run: go build -trimpath -ldflags "$LDFLAGS" -o ./error-pages ./cmd/error-pages/ - - if: contains(runner.os, matrix.os) && contains(runner.arch, matrix.arch) + - if: matrix.os == 'linux' && matrix.arch == 'amd64' run: ./error-pages --version && ./error-pages -h - - if: contains(runner.os, matrix.os) && contains(runner.arch, matrix.arch) + - if: matrix.os == 'linux' && matrix.arch == 'amd64' run: mkdir ./out && ./error-pages --log-level=debug build --index --target-dir ./out - - if: contains(runner.os, matrix.os) && contains(runner.arch, matrix.arch) + - if: matrix.os == 'linux' && matrix.arch == 'amd64' run: | test -f ./out/index.html test -f ./out/ghost/404.html