wip: 🔕 temporary commit

This commit is contained in:
Paramtamtam 2024-06-29 15:07:53 +04:00
parent 7ed6ec414f
commit 86aa4aab93
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B

View File

@ -39,41 +39,36 @@ jobs:
- {uses: actions/setup-go@v5, with: {go-version-file: go.mod}} - {uses: actions/setup-go@v5, with: {go-version-file: go.mod}}
- run: go test -race ./... - run: go test -race ./...
# build: build:
# name: Build for ${{ matrix.os }} (${{ matrix.arch }}) name: Build for ${{ matrix.os }} (${{ matrix.arch }})
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# strategy: strategy:
# fail-fast: false fail-fast: false
# matrix: matrix:
# os: [linux, darwin] # linux, freebsd, darwin, windows os: [linux, darwin] # linux, freebsd, darwin, windows
# arch: [amd64] # amd64, 386 arch: [amd64] # amd64, 386
# needs: [golangci-lint, go-test, validate-config-file] needs: [golangci-lint, go-test]
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - {uses: actions/setup-go@v5, with: {go-version-file: go.mod}}
# - uses: gacts/setup-go-with-cache@v1 - {uses: gacts/github-slug@v1, id: slug}
# with: {go-version-file: go.mod} - env:
# GOOS: ${{ matrix.os }}
# - {uses: gacts/github-slug@v1, id: slug} GOARCH: ${{ matrix.arch }}
# CGO_ENABLED: 0
# - name: Build application LDFLAGS: -s -w -X gh.tarampamp.am/error-pages/internal/appmeta.version=${{ steps.slug.outputs.branch-name-slug }}
# env: run: go build -trimpath -ldflags "$LDFLAGS" -o ./error-pages ./cmd/error-pages/
# GOOS: ${{ matrix.os }}
# GOARCH: ${{ matrix.arch }} - name: Try to execute
# CGO_ENABLED: 0 if: matrix.os == 'linux'
# LDFLAGS: -s -w -X gh.tarampamp.am/error-pages/internal/version.version=${{ steps.slug.outputs.branch-name-slug }}@${{ steps.slug.outputs.commit-hash-short }} run: ./error-pages --version && ./error-pages -h
# run: go build -trimpath -ldflags "$LDFLAGS" -o ./error-pages ./cmd/error-pages/
# - uses: actions/upload-artifact@v4
# - name: Try to execute with:
# if: matrix.os == 'linux' name: error-pages-${{ matrix.os }}-${{ matrix.arch }}
# run: ./error-pages --version && ./error-pages -h path: error-pages
# if-no-files-found: error
# - uses: actions/upload-artifact@v4 retention-days: 1
# with:
# name: error-pages-${{ matrix.os }}-${{ matrix.arch }}
# path: error-pages
# if-no-files-found: error
# retention-days: 1
# generate: # generate:
# name: Run templates generator # name: Run templates generator