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 }}