feat(ci): add multi-architecture build support for ARM64 #356
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
| name: Tests | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| env: | |
| GO_VERSION: "1.24.3" | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go with private modules | |
| uses: ./.github/actions/setup-go-private | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| gh-token: ${{ secrets.GH_PAT }} | |
| - name: Install dependencies | |
| run: go mod download | |
| - name: Run tests | |
| run: make test | |
| build: | |
| uses: ./.github/workflows/docker.yml | |
| with: | |
| push-image: true | |
| secrets: | |
| GH_PAT: ${{ secrets.GH_PAT }} |