From 3c2ab6ead206d23e68b0596cdc2ed992f068e2f3 Mon Sep 17 00:00:00 2001 From: maze Date: Wed, 24 Jul 2024 15:49:59 +0200 Subject: [PATCH] Fix matrix --- .gitea/workflows/release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 608d646..39215b5 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -10,19 +10,19 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Go ${{ matrix.go-os }} ${{ matrix.go-arch }} + - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.21.x' + go-version: '1.22.x' - name: Display Go version - run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go version - - name: Install dependencies + run: go version + - name: Install dependencies for ${{ matrix.go-os }} ${{ matrix.go-arch }} run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go get -v - - name: Test + - name: Test for ${{ matrix.go-os }} ${{ matrix.go-arch }} run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go test -v ./... - - name: Build + - name: Build for ${{ matrix.go-os }} ${{ matrix.go-arch }} run: GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go build -v ./cmd/update-ip - - name: Upload Go test results + - name: Upload Go test results for ${{ matrix.go-os }} ${{ matrix.go-arch }} uses: actions/upload-artifact@v4 with: name: update-ip_${{ matrix.go-os }}_${{ matrix.go-arch }}