Skip to content

ci: align go version in workflows and add job dependency #23

ci: align go version in workflows and add job dependency

ci: align go version in workflows and add job dependency #23

Workflow file for this run

---

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
needs: code_checks
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.25']
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GH_GORELEASER_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_GORELEASER_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: "~> 2"
args: release --clean
workdir: .
env:
GITHUB_TOKEN: ${{ secrets.GH_GORELEASER_TOKEN }}
- name: Refresh Go Report Card
uses: creekorful/goreportcard-action@v1.0