fix: pipeline need to checkout before setup go
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 4s
CI Workflow / CI run build and linting (pull_request) Failing after 11s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / CI run tests (pull_request) Failing after 1m38s
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 2m20s

This commit is contained in:
Marcel_Henselin 2026-03-02 10:34:54 +01:00
parent 5958474f9a
commit 7701171b6d

View file

@ -37,6 +37,9 @@ jobs:
apt-get -y -qq update
apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: https://code.forgejo.org/actions/setup-go@v6
with:
@ -56,9 +59,6 @@ jobs:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- name: Checkout
uses: actions/checkout@v6
- name: Run build pkg directory
run: |
go run cmd/main.go build