Lunny Xiao
28740d7788
Upgrade go mod ( #154 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/154
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
2026-02-22 20:39:43 +00:00
Lunny Xiao
ddf9159a8f
Remove jobparser because of moving to Gitea main project ( #155 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/155
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
2026-02-22 19:04:16 +00:00
silverwind
43e6958fa3
Recover from panics in parallel executor workers ( #153 )
...
The worker goroutines in `NewParallelExecutor` had no panic recovery. A panic in any executor (e.g. expression evaluation) would crash the entire runner process, leaving all steps stuck in the UI because the final status was never reported back.
Add `defer`/`recover` in the worker goroutines to convert panics into errors that propagate through the normal error channel.
Issue is present in latest `nektos/act` as well.
Fixes https://gitea.com/gitea/act_runner/issues/371
(Partially generated by Claude)
Reviewed-on: https://gitea.com/gitea/act/pulls/153
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-18 03:29:07 +00:00
Pascal Zimmermann
c0f19d9a26
fix: Max parallel Support for Matrix Jobs and Remote Action Tests ( #150 )
...
## Summary
This PR fixes the `max-parallel` strategy configuration for matrix jobs and resolves all failing tests in `step_action_remote_test.go`. The implementation ensures that matrix jobs respect the `max-parallel` setting, preventing resource exhaustion when running GitHub Actions workflows.
## Problem Statement
### Issue 1: max-parallel Not Working Correctly
Matrix jobs were running in parallel regardless of the `max-parallel` setting in the strategy configuration. This caused:
- Resource contention on limited runners
- Unpredictable job execution behavior
- Inability to control concurrency for resource-intensive workflows
### Issue 2: Failing Remote Action Tests
All tests in `step_action_remote_test.go` were failing due to:
- Missing `ActionCacheDir` configuration
- Incorrect mock expectations using fixed strings instead of hash-based paths
- Incompatibility with the hash-based action cache implementation
## Changes
### 1. max-parallel Implementation (`pkg/runner/runner.go`)
#### Robust Initialization
Added fallback logic to ensure `MaxParallel` is always properly initialized:
```go
if job.Strategy.MaxParallel == 0 {
job.Strategy.MaxParallel = job.Strategy.GetMaxParallel()
}
```
#### Eliminated Unnecessary Nesting
Fixed inefficient nested parallelization when only one pipeline element exists:
```go
if len(pipeline) == 1 {
// Execute directly without additional wrapper
log.Debugf("Single pipeline element, executing directly")
return pipeline[0](ctx)
}
```
#### Enhanced Logging
Added comprehensive debug and info logging:
- Shows which `maxParallel` value is being used
- Logs adjustments based on matrix size
- Reports final parallelization decisions
### 2. Worker Logging (`pkg/common/executor.go`)
Enhanced `NewParallelExecutor` with detailed worker activity logging:
```go
log.Infof("NewParallelExecutor: Creating %d workers for %d executors", parallel, len(executors))
for i := 0; i < parallel; i++ {
go func(workerID int, work <-chan Executor, errs chan<- error) {
log.Debugf("Worker %d started", workerID)
taskCount := 0
for executor := range work {
taskCount++
log.Debugf("Worker %d executing task %d", workerID, taskCount)
errs <- executor(ctx)
}
log.Debugf("Worker %d finished (%d tasks executed)", workerID, taskCount)
}(i, work, errs)
}
```
**Benefits:**
- Easy verification of correct parallelization
- Better debugging capabilities
- Clear visibility into worker activity
### 3. Documentation (`pkg/model/workflow.go`)
Added clarifying comment to ensure strategy values are always set:
```go
// Always set these values, even if there's an error later
j.Strategy.FailFast = j.Strategy.GetFailFast()
j.Strategy.MaxParallel = j.Strategy.GetMaxParallel()
```
### 4. Test Fixes (`pkg/runner/step_action_remote_test.go`)
#### Added Missing Configuration
All tests now include `ActionCacheDir`:
```go
Config: &Config{
GitHubInstance: "github.com",
ActionCacheDir: "/tmp/test-cache",
}
```
#### Hash-Based Suffix Matchers
Updated mocks to use hash-based paths instead of fixed strings:
```go
// Before
sarm.On("readAction", sar.Step, suffixMatcher("org-repo-path@ref"), ...)
// After
sarm.On("readAction", sar.Step, suffixMatcher(sar.Step.UsesHash()), ...)
```
#### Flexible Exec Matcher for Post Tests
Implemented flexible path matching for hash-based action directories:
```go
execMatcher := mock.MatchedBy(func(args []string) bool {
if len(args) != 2 {
return false
}
return args[0] == "node" && strings.Contains(args[1], "post.js")
})
```
#### Token Test Improvements
- Uses unique cache directory to force cloning
- Validates URL redirection to github.com
- Accepts realistic token behavior
### 5. New Tests
#### Unit Tests (`pkg/runner/max_parallel_test.go`)
Tests various `max-parallel` configurations:
- `max-parallel: 1` → Sequential execution
- `max-parallel: 2` → Max 2 parallel jobs
- `max-parallel: 4` (default) → Max 4 parallel jobs
- `max-parallel: 10` → Max 10 parallel jobs
#### Concurrency Test (`pkg/common/executor_max_parallel_test.go`)
Verifies that `max-parallel: 2` actually limits concurrent execution using atomic counters.
## Expected Behavior
### Before
- ❌ Jobs ran in parallel regardless of `max-parallel` setting
- ❌ Unnecessary nested parallelization (8 workers for 1 element)
- ❌ No logging to debug parallelization issues
- ❌ All `step_action_remote_test.go` tests failing
### After
- ✅ `max-parallel: 1` → Jobs run strictly sequentially
- ✅ `max-parallel: N` → Maximum N jobs run simultaneously
- ✅ Efficient single-level parallelization for matrix jobs
- ✅ Comprehensive logging for debugging
- ✅ All tests passing (10/10)
## Example Log Output
With `max-parallel: 2` and 6 matrix jobs:
```
[DEBUG] Using job.Strategy.MaxParallel: 2
[INFO] Running job with maxParallel=2 for 6 matrix combinations
[DEBUG] Single pipeline element, executing directly
[INFO] NewParallelExecutor: Creating 2 workers for 6 executors
[DEBUG] Worker 0 started
[DEBUG] Worker 1 started
[DEBUG] Worker 0 executing task 1
[DEBUG] Worker 1 executing task 1
...
[DEBUG] Worker 0 finished (3 tasks executed)
[DEBUG] Worker 1 finished (3 tasks executed)
```
## Test Results
All tests pass successfully:
```
✅ TestStepActionRemote (3 sub-tests)
✅ TestStepActionRemotePre
✅ TestStepActionRemotePreThroughAction
✅ TestStepActionRemotePreThroughActionToken
✅ TestStepActionRemotePost (4 sub-tests)
✅ TestMaxParallelStrategy
✅ TestMaxParallel2Quick
Total: 12/12 tests passing
```
## Breaking Changes
None. This PR is fully backward compatible. All changes improve existing behavior without altering the API.
## Impact
- ✅ Fixes resource management for CI/CD pipelines
- ✅ Prevents runner exhaustion on limited infrastructure
- ✅ Enables sequential execution for resource-intensive jobs
- ✅ Improves debugging with detailed logging
- ✅ Ensures test suite reliability
## Files Modified
### Core Implementation
- `pkg/runner/runner.go` - max-parallel fix + logging
- `pkg/common/executor.go` - Worker logging
- `pkg/model/workflow.go` - Documentation
### Tests
- `pkg/runner/step_action_remote_test.go` - Fixed all 10 tests
- `pkg/runner/max_parallel_test.go` - **NEW** - Unit tests
- `pkg/common/executor_max_parallel_test.go` - **NEW** - Concurrency test
## Verification
### Manual Testing
```bash
# Build
go build -o dist/act main.go
# Test with max-parallel: 2
./dist/act -W test-max-parallel-2.yml -v
# Expected: Only 2 jobs run simultaneously
```
### Automated Testing
```bash
# Run all tests
go test ./pkg/runner -run TestStepActionRemote -v
go test ./pkg/runner -run TestMaxParallel -v
go test ./pkg/common -run TestMaxParallel -v
```
## Related Issues
Fixes issues where matrix jobs in Gitea ignored the `max-parallel` strategy setting, causing resource contention and unpredictable behavior.
Reviewed-on: https://gitea.com/gitea/act/pulls/150
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Co-authored-by: Pascal Zimmermann <pascal.zimmermann@theiotstudio.com >
Co-committed-by: Pascal Zimmermann <pascal.zimmermann@theiotstudio.com >
2026-02-11 00:43:38 +00:00
wrzooz
495185446f
Fixed typo ( #151 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/151
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: wrzooz <wrzooz@noreply.gitea.com >
Co-committed-by: wrzooz <wrzooz@noreply.gitea.com >
2026-01-22 08:09:32 +00:00
Christopher Homberger
3a07d231a0
Fix yaml with prefixed newline broken setjob + yaml v4 ( #144 )
...
* go-yaml v3 **and** v4 workaround
* avoid yaml.Marshal broken indention
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/144
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-12-09 02:28:56 +00:00
Zettat123
5417d3ac67
Interpolate uses for remote reusable workflows ( #145 )
...
Related to #127
Reviewed-on: https://gitea.com/gitea/act/pulls/145
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-12-02 19:36:38 +00:00
Zettat123
f56fd693ee
Add run_attempt to context ( #126 )
...
Fix https://github.com/go-gitea/gitea/issues/33135
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/126
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-11-14 20:14:23 +00:00
Zettat123
34f68b3c18
Support cloning actions and workflows from private repos ( #123 )
...
Related to https://github.com/go-gitea/gitea/pull/32562
Resolve https://gitea.com/gitea/act_runner/issues/102
To support using actions and workflows from private repositories, we need to enable act_runner to clone private repositories.
~~But it is not easy to know if a repository is private and whether a token is required when cloning. In this PR, I added a new option `RetryToken`. By default, token is empty. When cloning a repo returns an `authentication required` error, `act_runner` will try to clone the repo again using `RetryToken` as the token.~~
In this PR, I added a new `getGitCloneToken` function. This function returns `GITEA_TOKEN` for cloning remote actions or remote reusable workflows when the cloneURL is from the same Gitea instance that the runner is registered to. Otherwise, it returns an empty string as token for cloning public repos from other instances (such as GitHub).
Thanks @ChristopherHX for https://gitea.com/gitea/act/pulls/123#issuecomment-1046171 and https://gitea.com/gitea/act/pulls/123#issuecomment-1046285 .
Reviewed-on: https://gitea.com/gitea/act/pulls/123
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-10-14 02:37:09 +00:00
Zettat123
ac6e4b7517
Support inputs context when parsing jobs ( #143 )
...
Reusable workflows or manually triggered workflows may get data from [`inputs` context](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#inputs-context ).
For example:
```
name: Build
run-name: Build app on ${{ inputs.os }}
on:
workflow_dispatch:
inputs:
os:
description: Select the OS
required: true
type: choice
options:
- windows
- linux
...
```
Reviewed-on: https://gitea.com/gitea/act/pulls/143
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-10-03 18:05:12 +00:00
Christopher Homberger
91852faf93
refactor: simplify adding new node versions add node 24 ( #140 )
...
* backport
Reviewed-on: https://gitea.com/gitea/act/pulls/140
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-08-21 16:04:08 +00:00
ChristopherHX
39509e9ad0
Support Simplified Concurrency ( #139 )
...
- update RawConcurrency struct to parse and serialize string-based concurrency notation
- update EvaluateConcurrency to handle new RawConcurrency format
Reviewed-on: https://gitea.com/gitea/act/pulls/139
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-committed-by: ChristopherHX <christopher.homberger@web.de >
2025-07-29 09:14:47 +00:00
badhezi
9924aea786
Evaluate run-name field for workflows ( #137 )
...
To support https://github.com/go-gitea/gitea/pull/34301
Reviewed-on: https://gitea.com/gitea/act/pulls/137
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: badhezi <zlilaharon@gmail.com >
Co-committed-by: badhezi <zlilaharon@gmail.com >
2025-05-12 17:17:50 +00:00
Jack Jackson
65c232c4a5
Parse permissions ( #133 )
...
Resurrecting [this PR](https://gitea.com/gitea/act/pulls/73 ) as the original author has [lost motivation](https://github.com/go-gitea/gitea/pull/25664#issuecomment-2737099259 ) (though, to be clear - all credit belongs to them, all mistakes are mine and mine alone!)
Co-authored-by: Søren L. Hansen <sorenisanerd@gmail.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/133
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jack Jackson <scubbojj@gmail.com >
Co-committed-by: Jack Jackson <scubbojj@gmail.com >
2025-03-24 18:17:06 +00:00
Guillaume S.
5da4954b65
fix handle missing yaml.ScalarNode ( #129 )
...
This bug was reported on https://github.com/go-gitea/gitea/issues/33657
Rewrite of (see below) was missing in this commit 6cdf1e5788
```go
case string:
acts[act] = []string{b}
```
Reviewed-on: https://gitea.com/gitea/act/pulls/129
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Guillaume S. <me@gsvd.dev >
Co-committed-by: Guillaume S. <me@gsvd.dev >
2025-02-26 06:19:02 +00:00
Zettat123
ec091ad269
Support concurrency ( #124 )
...
To support `concurrency` syntax for Gitea Actions
Gitea PR: https://github.com/go-gitea/gitea/pull/32751
Reviewed-on: https://gitea.com/gitea/act/pulls/124
Reviewed-by: Lunny Xiao <lunny@noreply.gitea.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-02-11 02:51:48 +00:00
Zettat123
1656206765
Improve the support for reusable workflows ( #122 )
...
Fix [#32439 ](https://github.com/go-gitea/gitea/issues/32439 )
- Support reusable workflows with conditional jobs
- Support nesting reusable workflows
Reviewed-on: https://gitea.com/gitea/act/pulls/122
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-11-23 14:14:17 +00:00
Lunny Xiao
6cdf1e5788
Fix ParseRawOn sequence problem ( #119 )
...
Fix https://gitea.com/gitea/act/actions/runs/277/jobs/0
Reviewed-on: https://gitea.com/gitea/act/pulls/119
2024-10-05 19:29:55 +00:00
Lunny Xiao
ab381649da
Add parsing for workflow dispatch ( #118 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/118
2024-10-03 02:56:58 +00:00
Jason Song
38e7e9e939
Use hashed uses string as cache dir name ( #117 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/117
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-09-24 06:53:41 +00:00
Zettat123
2ab806053c
Check all job results when calling reusable workflows ( #116 )
...
Fix [#31900 ](https://github.com/go-gitea/gitea/issues/31900 )
Reviewed-on: https://gitea.com/gitea/act/pulls/116
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-09-24 06:52:45 +00:00
Zettat123
6a090f67e5
Support some GITEA_ environment variables ( #112 )
...
Fix https://gitea.com/gitea/act_runner/issues/575
Reviewed-on: https://gitea.com/gitea/act/pulls/112
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-07-29 04:17:45 +00:00
Jason Song
517d11c671
Reduce log noise ( #108 )
...
Cannot guarantee that all noisy logs can be removed at once.
Comment them instead of removing them to make it easier to merge upstream.
What have been removed in this PR are those that are very very long and almost unreadable logs, like
<img width="839" alt="image" src="/attachments/b59e1dcc-4edd-4f81-b939-83dcc45f2ed2">
Reviewed-on: https://gitea.com/gitea/act/pulls/108
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-10 06:55:46 +00:00
Jason Song
e1b1e81124
Revert "Pass 'sleep' as container command rather than entrypoint ( #86 )" ( #107 )
...
This reverts #86 .
Some images use a custom entry point for specific usage, then `[entrypoint] [cmd]` like `helm /bin/sleep 1` will failed.
It causes https://gitea.com/gitea/helm-chart/actions/runs/755 since the image is `alpine/helm`.
```yaml
check-and-test:
runs-on: ubuntu-latest
container: alpine/helm:3.14.3
```
Reviewed-on: https://gitea.com/gitea/act/pulls/107
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-10 06:53:28 +00:00
Zettat123
64876e3696
Interpolate job name with matrix ( #106 )
...
Fix https://github.com/go-gitea/gitea/issues/28207
Reviewed-on: https://gitea.com/gitea/act/pulls/106
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-04-07 03:34:53 +00:00
Jason Song
3fa1dba92b
Merge tag 'nektos/v0.2.61'
2024-04-01 14:23:16 +08:00
GitHub Actions
361b7e9f1a
chore: bump VERSION to 0.2.61
2024-04-01 02:16:09 +00:00
Zettat123
9725f60394
Support reusing workflows with absolute URLs ( #104 )
...
Resolve https://gitea.com/gitea/act_runner/issues/507
Reviewed-on: https://gitea.com/gitea/act/pulls/104
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-29 06:15:28 +00:00
ChristopherHX
f825e42ce2
fix: cache adjust restore order of exact key matches ( #2267 )
...
* wip: adjust restore order
* fixup
* add tests
* cleanup
* fix typo
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-03-29 02:07:20 +00:00
Jason Collins
d9a19c8b02
Trivial: reduce log spam. ( #2256 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:28:48 +00:00
James Kang
3949d74af5
chore: remove repetitive words ( #2259 )
...
Signed-off-by: majorteach <csgcgl@126.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:14:53 +00:00
Jason Song
b9382a2c4e
Support overwriting caches ( #2265 )
...
* feat: support overwrite caches
* test: fix case
* test: fix get_with_multiple_keys
* chore: use atomic.Bool
* test: improve get_with_multiple_keys
* chore: use ping to improve path
* fix: wrong CompareAndSwap
* test: TestHandler_gcCache
* chore: lint code
* chore: lint code
2024-03-28 16:42:02 +00:00
Jason Song
f56dd65ff6
test: use ping to improve network test ( #2266 )
2024-03-28 11:56:26 +00:00
Thomas E Lackey
a79d81989f
Pass 'sleep' as container command rather than entrypoint ( #86 )
...
The current code overrides the container's entrypoint with `sleep`. Unfortunately, that prevents initialization scripts, such as to initialize Docker-in-Docker, from running.
The change simply moves the `sleep` to the command, rather than entrypoint, directive.
For most containers of this sort, the entrypoint script performs initialization, and then ends with `$@` to execute whatever command is passed.
If the container has no entrypoint, the command is executed directly. As a result, this should be a transparent change for most use cases, while allowing the container's entrypoint to be used when present.
Reviewed-on: https://gitea.com/gitea/act/pulls/86
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-03-27 10:17:48 +00:00
Zettat123
655f578563
Remove the network when there is no service ( #103 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/103
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-27 10:07:29 +00:00
Zettat123
0054a45d1b
Fix bugs related to services ( #100 )
...
Related to #99
- use `networkNameForGitea` function instead of `networkName` to get network name
- add the missing `Cmd` and `AutoRemove` when creating service containers
Reviewed-on: https://gitea.com/gitea/act/pulls/100
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-26 10:14:06 +00:00
Jason Song
79a7577c15
Merge tag 'nektos/v0.2.60'
2024-03-25 16:58:11 +08:00
Jason Song
a28ebf0a48
Improve workflows ( #98 )
...
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/pulls/98
2024-03-25 15:54:51 +08:00
Jason Song
2b860ce371
Remove emojis in command outputs ( #97 )
...
Remove emojis in command outputs; leave others since they don't matter.
Help https://github.com/go-gitea/gitea/pull/29777
Reviewed-on: https://gitea.com/gitea/act/pulls/97
2024-03-25 15:54:39 +08:00
Zettat123
3a9e7d18de
Support cloning remote actions from insecure Gitea instances ( #92 )
...
Related to https://github.com/go-gitea/gitea/issues/28693
Reviewed-on: https://gitea.com/gitea/act/pulls/92
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-25 15:54:09 +08:00
Claudio Nicora
b4edc952d9
Patched options() to let container options propagate to job containers ( #80 )
...
This PR let "general" container config to be propagated to each job container.
See:
- https://gitea.com/gitea/act_runner/issues/265#issuecomment-744382
- https://gitea.com/gitea/act_runner/issues/79
- https://gitea.com/gitea/act_runner/issues/378
Reviewed-on: https://gitea.com/gitea/act/pulls/80
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Claudio Nicora <claudio.nicora@gmail.com >
Co-committed-by: Claudio Nicora <claudio.nicora@gmail.com >
2024-03-25 15:43:14 +08:00
sillyguodong
f1213213d8
Make runs-on support variable expression ( #91 )
...
Partial implementation of https://gitea.com/gitea/act_runner/issues/445 , the Gitea side also needs a PR for the entire functionality.
Gitea side: https://github.com/go-gitea/gitea/pull/29468
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/91
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com >
2024-03-25 15:42:59 +08:00
dependabot[bot]
069720abff
build(deps): bump github.com/docker/docker ( #2252 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 17:37:01 +00:00
dependabot[bot]
8c83d57212
build(deps): bump golang.org/x/term from 0.17.0 to 0.18.0 ( #2244 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 02:28:21 +00:00
ChristopherHX
119ceb81d9
fix: rootless permission bits (new actions cache) ( #2242 )
...
* fix: rootless permission bits (new actions cache)
* add test
* fix lint / more tests
2024-03-08 01:25:03 +00:00
huajin tong
352ad41ad2
fix function name in comment ( #2240 )
...
Signed-off-by: thirdkeyword <fliterdashen@gmail.com >
2024-03-06 14:20:06 +00:00
ChristopherHX
75e4ad93f4
fix: docker buildx cache restore not working ( #2236 )
...
* To take effect artifacts v4 pr is needed with adjusted claims
2024-03-05 06:04:54 +00:00
dependabot[bot]
934b13a7a1
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #2235 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 03:08:44 +00:00
GitHub Actions
d3c8664d3d
chore: bump VERSION to 0.2.60
2024-03-01 02:12:58 +00:00
dependabot[bot]
c79f59f802
build(deps): bump go.etcd.io/bbolt from 1.3.8 to 1.3.9 ( #2229 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.8 to 1.3.9.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.8...v1.3.9 )
---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 03:18:59 +00:00