chore(deps): Update helm/chart-testing-action action to v2.8.0 (main) #7737
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Test workflow to verify Loki binaries compile successfully for multiple Linux architectures. | |
| # This ensures PRs don't break cross-platform builds. | |
| name: Test Build Loki Binaries | |
| on: | |
| pull_request: {} | |
| permissions: | |
| contents: read | |
| env: | |
| GO_VERSION: "1.26.3" | |
| jobs: | |
| build: | |
| name: Test Build ${{ matrix.binary.name }} (${{ matrix.goos }}/${{ matrix.goarch }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| goos: [linux] | |
| goarch: [amd64, arm64, arm] | |
| binary: | |
| - name: loki | |
| path: ./cmd/loki | |
| - name: logcli | |
| path: ./cmd/logcli | |
| - name: querytee | |
| path: ./cmd/querytee | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| cache: true | |
| - name: Build ${{ matrix.binary.name }} | |
| env: | |
| CGO_ENABLED: "0" | |
| GOOS: ${{ matrix.goos }} | |
| GOARCH: ${{ matrix.goarch }} | |
| run: | | |
| echo "Building ${{ matrix.binary.name }} for $GOOS/$GOARCH" | |
| go build -v -o ${{ matrix.binary.name }}-${{ matrix.goos }}-${{ matrix.goarch }} ${{ matrix.binary.path }} |