diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 6e48371..19a3192 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -7,35 +7,33 @@ jobs: unit-test: strategy: matrix: - go-version: [1.25.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: - - name: Install Go - uses: actions/setup-go@v6 - with: - go-version: ${{ matrix.go-version }} - name: checkout uses: actions/checkout@v7 with: fetch-depth: 1 + - name: Install Go + uses: actions/setup-go@v6 + with: + go-version-file: go.mod - name: Run unit tests run: make test build-test: strategy: matrix: - go-version: [1.25.x] platform: [ubuntu-latest] arch: [386, amd64, arm, arm64] runs-on: ${{ matrix.platform }} steps: - - name: Install Go - uses: actions/setup-go@v6 - with: - go-version: ${{ matrix.go-version }} - name: checkout uses: actions/checkout@v7 with: fetch-depth: 1 + - name: Install Go + uses: actions/setup-go@v6 + with: + go-version-file: go.mod - name: Building binary run: GOARCH=${{ matrix.arch }} make compile