Renovate Bot
0fd8602ac3
chore(deps): update actions/setup-go action to v7 ( #1102 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://github.com/actions/setup-go ) | action | major | `v6` → `v7` |
---
### Release Notes
<details>
<summary>actions/setup-go (actions/setup-go)</summary>
### [`v7.0.0`](https://github.com/actions/setup-go/releases/tag/v7.0.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v7.0.0...v7.0.0 )
##### What's Changed
- Migrate to ESM and upgrade dependencies by [@​priyagupta108](https://github.com/priyagupta108 ) in [#​763](https://github.com/actions/setup-go/pull/763 )
- chore(deps): bump [@​actions/cache](https://github.com/actions/cache ) to 6.2.0 by [@​philip-gai](https://github.com/philip-gai ) in [#​771](https://github.com/actions/setup-go/pull/771 )
##### New Contributors
- [@​philip-gai](https://github.com/philip-gai ) made their first contribution in [#​771](https://github.com/actions/setup-go/pull/771 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v7.0.0 >
### [`v7`](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0 )
### [`v6.5.0`](https://github.com/actions/setup-go/releases/tag/v6.5.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6.4.0...v6.5.0 )
##### What's Changed
##### Dependency update
- Upgrade actions dependencies by [@​priyagupta108](https://github.com/priyagupta108 ) with [@​Copilot](https://github.com/Copilot ) in [#​744](https://github.com/actions/setup-go/pull/744 )
- Upgrade [@​types/node](https://github.com/types/node ) and typescript-eslint dependencies to resolve npm audit findings by [@​HarithaVattikuti](https://github.com/HarithaVattikuti ) in [#​755](https://github.com/actions/setup-go/pull/755 )
- Upgrade [@​actions/cache](https://github.com/actions/cache ) to 5.1.0, log cache write denied by [@​jasongin](https://github.com/jasongin ) in [#​758](https://github.com/actions/setup-go/pull/758 )
- Upgrade version to 6.5.0 in package.json and package-lock.json by [@​HarithaVattikuti](https://github.com/HarithaVattikuti ) in [#​762](https://github.com/actions/setup-go/pull/762 )
##### New Contributors
- [@​priyagupta108](https://github.com/priyagupta108 ) with [@​Copilot](https://github.com/Copilot ) made their first contribution in [#​744](https://github.com/actions/setup-go/pull/744 )
- [@​jasongin](https://github.com/jasongin ) made their first contribution in [#​758](https://github.com/actions/setup-go/pull/758 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.5.0 >
### [`v6.4.0`](https://github.com/actions/setup-go/releases/tag/v6.4.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6.3.0...v6.4.0 )
##### What's Changed
##### Enhancement
- Add go-download-base-url input for custom Go distributions by [@​gdams](https://github.com/gdams ) in [#​721](https://github.com/actions/setup-go/pull/721 )
##### Dependency update
- Upgrade minimatch from 3.1.2 to 3.1.5 by [@​dependabot](https://github.com/dependabot ) in [#​727](https://github.com/actions/setup-go/pull/727 )
##### Documentation update
- Rearrange README.md, add advanced-usage.md by [@​priyagupta108](https://github.com/priyagupta108 ) in [#​724](https://github.com/actions/setup-go/pull/724 )
- Fix Microsoft build of Go link by [@​gdams](https://github.com/gdams ) in [#​734](https://github.com/actions/setup-go/pull/734 )
##### New Contributors
- [@​gdams](https://github.com/gdams ) made their first contribution in [#​721](https://github.com/actions/setup-go/pull/721 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.4.0 >
### [`v6.3.0`](https://github.com/actions/setup-go/releases/tag/v6.3.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6.2.0...v6.3.0 )
##### What's Changed
- Update default Go module caching to use go.mod by [@​priyagupta108](https://github.com/priyagupta108 ) in [#​705](https://github.com/actions/setup-go/pull/705 )
- Fix golang download url to go.dev by [@​178inaba](https://github.com/178inaba ) in [#​469](https://github.com/actions/setup-go/pull/469 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.3.0 >
### [`v6.2.0`](https://github.com/actions/setup-go/releases/tag/v6.2.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6.1.0...v6.2.0 )
##### What's Changed
##### Enhancements
- Example for restore-only cache in documentation by [@​aparnajyothi-y](https://github.com/aparnajyothi-y ) in [#​696](https://github.com/actions/setup-go/pull/696 )
- Update Node.js version in action.yml by [@​ccoVeille](https://github.com/ccoVeille ) in [#​691](https://github.com/actions/setup-go/pull/691 )
- Documentation update of actions/checkout by [@​deining](https://github.com/deining ) in [#​683](https://github.com/actions/setup-go/pull/683 )
##### Dependency updates
- Upgrade js-yaml from 3.14.1 to 3.14.2 by [@​dependabot](https://github.com/dependabot ) in [#​682](https://github.com/actions/setup-go/pull/682 )
- Upgrade [@​actions/cache](https://github.com/actions/cache ) to v5 by [@​salmanmkc](https://github.com/salmanmkc ) in [#​695](https://github.com/actions/setup-go/pull/695 )
- Upgrade actions/checkout from 5 to 6 by [@​dependabot](https://github.com/dependabot ) in [#​686](https://github.com/actions/setup-go/pull/686 )
- Upgrade qs from 6.14.0 to 6.14.1 by [@​dependabot](https://github.com/dependabot ) in [#​703](https://github.com/actions/setup-go/pull/703 )
##### New Contributors
- [@​ccoVeille](https://github.com/ccoVeille ) made their first contribution in [#​691](https://github.com/actions/setup-go/pull/691 )
- [@​deining](https://github.com/deining ) made their first contribution in [#​683](https://github.com/actions/setup-go/pull/683 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.2.0 >
### [`v6.1.0`](https://github.com/actions/setup-go/releases/tag/v6.1.0 )
[Compare Source](https://github.com/actions/setup-go/compare/v6...v6.1.0 )
##### What's Changed
##### Enhancements
- Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang by [@​nicholasngai](https://github.com/nicholasngai ) in [#​665](https://github.com/actions/setup-go/pull/665 )
- Add support for .tool-versions file and update workflow by [@​priya-kinthali](https://github.com/priya-kinthali ) in [#​673](https://github.com/actions/setup-go/pull/673 )
- Add comprehensive breaking changes documentation for v6 by [@​mahabaleshwars](https://github.com/mahabaleshwars ) in [#​674](https://github.com/actions/setup-go/pull/674 )
##### Dependency updates
- Upgrade eslint-config-prettier from 10.0.1 to 10.1.8 and document breaking changes in v6 by [@​dependabot](https://github.com/dependabot ) in [#​617](https://github.com/actions/setup-go/pull/617 )
- Upgrade actions/publish-action from 0.3.0 to 0.4.0 by [@​dependabot](https://github.com/dependabot ) in [#​641](https://github.com/actions/setup-go/pull/641 )
- Upgrade semver and [@​types/semver](https://github.com/types/semver ) by [@​dependabot](https://github.com/dependabot ) in [#​652](https://github.com/actions/setup-go/pull/652 )
##### New Contributors
- [@​nicholasngai](https://github.com/nicholasngai ) made their first contribution in [#​665](https://github.com/actions/setup-go/pull/665 )
- [@​priya-kinthali](https://github.com/priya-kinthali ) made their first contribution in [#​673](https://github.com/actions/setup-go/pull/673 )
- [@​mahabaleshwars](https://github.com/mahabaleshwars ) made their first contribution in [#​674](https://github.com/actions/setup-go/pull/674 )
**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.1.0 >
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTEuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE5MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://gitea.com/gitea/runner/pulls/1102
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
2026-07-23 05:41:55 +00:00
bircni
3396021e0f
test: Enhance Coverage + CI ( #1055 )
...
Reviewed-on: https://gitea.com/gitea/runner/pulls/1055
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: bircni <bircni@icloud.com >
2026-07-01 03:26:42 +00:00
Renovate Bot
40e021309a
chore(deps): update actions/checkout action to v7 ( #1042 )
...
Reviewed-on: https://gitea.com/gitea/runner/pulls/1042
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-06-24 14:32:12 +00:00
silverwind
270ea41232
fix: matrix-job data races + outputs, leaner offline test suite ( #994 )
...
Running the full suite under `-race` (dropping `-short`) exposed pre-existing data races in parallel matrix-job execution, fixed by not sharing mutable state across combinations:
- `containerDaemonSocket()`/`validVolumes()` derive per-job values instead of mutating shared `Config`
- `getWorkflowSecrets` builds a fresh map, `rc.steps()` clones each step, and go-git workdir access is serialized
- every write to a shared `Job`'s result/outputs runs under a per-`Job` lock, each combo interpolating outputs from a pristine snapshot (last wins, as on GitHub)
### Test suite
- capability gates (docker / network / host-tools / Linux) replace the `-short` skips, and the suite runs offline via local fixtures (the artifact flow uses an in-process loopback server, only the docker-action force-pull needs the network)
- drops redundant tests, adds a regression test for https://gitea.com/gitea/runner/issues/981 and a docker-in-docker harness (`make test-dind`)
---
This PR was written with the help of Claude Opus 4.7
Reviewed-on: https://gitea.com/gitea/runner/pulls/994
Reviewed-by: Nicolas <bircni@icloud.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-05-29 05:23:10 +00:00
Nicolas
c45a4e6d32
ci: Fix triggers ( #882 )
...
Currently on a branch a workflow got triggered 2x one time on push and one time as its a PR
Now it only gets triggered on PR and on push onto main
Reviewed-on: https://gitea.com/gitea/runner/pulls/882
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Nicolas <bircni@icloud.com >
Co-committed-by: Nicolas <bircni@icloud.com >
2026-05-01 16:37:37 +00:00
silverwind
658101d9cb
chore(lint): add golangci-lint v2 and fix all lint issues ( #803 )
...
## Summary
- Replace old `.golangci.yml` (v1 format) with v2 format, aligned with gitea's lint config
- Add `lint-go`, `lint-go-fix`, and `lint` Makefile targets using golangci-lint v2.10.1
- Replace `make vet` with `make lint` in CI workflow (lint includes vet)
- Fix all 35 lint issues: modernize (maps.Copy, range over int, any), perfsprint (errors.New), unparam (remove unused parameters), revive (var naming), staticcheck, forbidigo exclusion for cmd/
- Make `security-check` non-fatal (apply https://github.com/go-gitea/gitea/pull/36681 )
- Remove dead gocritic exclusion rules (commentFormatting, exitAfterDefer)
- Remove dead linter exclusions and disabled checks (singleCaseSwitch, ST1003, QF1001, QF1006, QF1008, testifylint go-require/require-error, test file exclusions for dupl/errcheck/staticcheck/unparam)
## Test plan
- [x] `golangci-lint run` passes
- [x] `go build ./...` passes
- [x] `go test ./...` passes
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/803
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
2026-02-22 17:35:08 +00:00
silverwind
0f7efae806
chore(deps): update workflow action versions ( #792 )
...
## Summary
- `actions/checkout`: v4/v5 → v6
- `actions/setup-go`: v5 → v6
- `docker/build-push-action`: v5 → v6
All other actions (`goreleaser/goreleaser-action@v6`, `docker/setup-qemu-action@v3`, `docker/setup-buildx-action@v3`, `docker/login-action@v3`, `crazy-max/ghaction-import-gpg@v6`) were already at their latest major versions.
No breaking changes affect the current workflow configurations. The main changes in the updated actions are Node.js 24 runtime upgrades and minor feature additions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/792
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-18 06:05:34 +00:00
Jason Song
6bc19cbc33
Improve workflows ( #516 )
...
Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs .
Also bump some versions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-03-14 13:27:47 +00:00
techknowlogick
61cd71c9f8
bump to actions/checkout v4
2023-11-24 03:06:21 +00:00
Renovate Bot
0adfc1c7cc
chore(deps): update actions/setup-go action to v4 ( #418 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:33 +00:00
harryzcy
82c3c2df1a
Upgrade Go to 1.21 and bump other dependencies ( #330 )
...
Co-authored-by: harryzcy <harry@harryzheng.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/330
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: harryzcy <harryzcy@noreply.gitea.com >
Co-committed-by: harryzcy <harryzcy@noreply.gitea.com >
2023-08-10 01:45:25 +00:00
Jason Song
a29307a9d9
Remove hadolint and improve Dockerfile ( #234 )
...
Replace #190
See:
- https://gitea.com/gitea/act_runner/pulls/190#issuecomment-741196
- https://gitea.com/gitea/act_runner/pulls/208#issuecomment-741049
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/234
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: delvh <dev.lh@web.de >
2023-06-09 02:50:30 +00:00
appleboy
0d727eb262
build: optimize Dockerfile and update dependencies ( #162 )
...
- Update base images to golang:1.20-alpine3.17 and alpine:3.17
- Replace `--update-cache` with `--no-cache` in apk add command
- Specify exact versions for make, git, and bash packages
Signed-off-by: appleboy <appleboy.tw@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/162
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: appleboy <appleboy.tw@gmail.com >
Co-committed-by: appleboy <appleboy.tw@gmail.com >
2023-04-29 12:07:15 +08:00
Jason Song
ed86e2f15a
Update workflow files ( #131 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/131
2023-04-19 17:46:52 +08:00
Lunny Xiao
5180cd56e1
Support cache on ci ( #47 )
...
Fix #46
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/47
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io >
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-03-15 12:28:18 +08:00
Lunny Xiao
a4513405b5
Enable action as CI to test/build/release ( #26 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/26
2023-02-24 23:30:09 +08:00