Skip to content

Commit fbefec2

Browse files
authored
Merge branch 'master' into copytarstream
2 parents 96984a9 + f0ca0ab commit fbefec2

File tree

1,006 files changed

+302793
-418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,006 files changed

+302793
-418
lines changed

.github/actions/run-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ runs:
5454
}
5555
}
5656
};
57-
var args = ['test', '-v', '-cover', '-coverprofile=coverage.txt', '-covermode=atomic', '-timeout', '15m'];
57+
var args = ['test', '-v', '-cover', '-coverprofile=coverage.txt', '-covermode=atomic', '-timeout', '20m'];
5858
var filter = process.env.FILTER;
5959
if(filter) {
6060
args.push('-run');

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
version: v1.53
2828
only-new-issues: true
29-
- uses: megalinter/megalinter/flavors/go@v7.1.0
29+
- uses: megalinter/megalinter/flavors/go@v7.2.1
3030
env:
3131
DEFAULT_BRANCH: master
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,15 @@ If you need an environment that works just like the corresponding GitHub runner
272272

273273
- [`catthehacker/ubuntu:full-*`](https://github.com/catthehacker/docker_images/pkgs/container/ubuntu) - built from Packer template provided by GitHub, see [catthehacker/virtual-environments-fork](https://github.com/catthehacker/virtual-environments-fork) or [catthehacker/docker_images](https://github.com/catthehacker/docker_images) for more information
274274

275+
## Using local runner images
276+
277+
The `--pull` flag is set to true by default due to a breaking on older default docker images. This would pull the docker image everytime act is executed.
278+
279+
Set `--pull` to false if a local docker image is needed
280+
```sh
281+
act --pull=false
282+
```
283+
275284
## Use an alternative runner image
276285

277286
To use a different image for the runner, use the `-P` option.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.48
1+
0.2.49

cmd/input.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ type Input struct {
5555
replaceGheActionTokenWithGithubCom string
5656
matrix []string
5757
actionCachePath string
58+
logPrefixJobID bool
5859
}
5960

6061
func (i *Input) resolve(path string) string {

cmd/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func Execute(ctx context.Context, version string) {
7575
rootCmd.PersistentFlags().StringVarP(&input.workdir, "directory", "C", ".", "working directory")
7676
rootCmd.PersistentFlags().BoolP("verbose", "v", false, "verbose output")
7777
rootCmd.PersistentFlags().BoolVar(&input.jsonLogger, "json", false, "Output logs in json format")
78+
rootCmd.PersistentFlags().BoolVar(&input.logPrefixJobID, "log-prefix-job-id", false, "Output the job id within non-json logs instead of the entire name")
7879
rootCmd.PersistentFlags().BoolVarP(&input.noOutput, "quiet", "q", false, "disable logging of output from steps")
7980
rootCmd.PersistentFlags().BoolVarP(&input.dryrun, "dryrun", "n", false, "dryrun mode")
8081
rootCmd.PersistentFlags().StringVarP(&input.secretfile, "secret-file", "", ".secrets", "file with list of secrets to read from (e.g. --secret-file .secrets)")
@@ -584,6 +585,7 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str
584585
BindWorkdir: input.bindWorkdir,
585586
LogOutput: !input.noOutput,
586587
JSONLogger: input.jsonLogger,
588+
LogPrefixJobID: input.logPrefixJobID,
587589
Env: envs,
588590
Secrets: secrets,
589591
Vars: vars,

go.mod

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ require (
88
github.com/adrg/xdg v0.4.0
99
github.com/andreaskoch/go-fswatch v1.0.0
1010
github.com/creack/pty v1.1.18
11-
github.com/docker/cli v24.0.4+incompatible
11+
github.com/docker/cli v24.0.5+incompatible
1212
github.com/docker/distribution v2.8.2+incompatible
13-
github.com/docker/docker v24.0.5-0.20230714235725-36e9e796c6fc+incompatible // 24.0 branch
13+
github.com/docker/docker v24.0.5+incompatible // 24.0 branch
1414
github.com/docker/go-connections v0.4.0
1515
github.com/go-git/go-billy/v5 v5.4.1
16-
github.com/go-git/go-git/v5 v5.7.0
16+
github.com/go-git/go-git/v5 v5.8.1
1717
github.com/imdario/mergo v0.3.16
1818
github.com/joho/godotenv v1.5.1
1919
github.com/julienschmidt/httprouter v1.3.0
2020
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
2121
github.com/mattn/go-isatty v0.0.19
22-
github.com/moby/buildkit v0.12.0
22+
github.com/moby/buildkit v0.12.1
2323
github.com/moby/patternmatcher v0.5.0
2424
github.com/opencontainers/image-spec v1.1.0-rc4
2525
github.com/opencontainers/selinux v1.11.0
@@ -32,14 +32,15 @@ require (
3232
github.com/stretchr/testify v1.8.4
3333
github.com/timshannon/bolthold v0.0.0-20210913165410-232392fc8a6a
3434
go.etcd.io/bbolt v1.3.7
35-
golang.org/x/term v0.10.0
35+
golang.org/x/term v0.11.0
3636
gopkg.in/yaml.v3 v3.0.1
3737
gotest.tools/v3 v3.5.0
3838
)
3939

4040
require (
41+
dario.cat/mergo v1.0.0 // indirect
4142
github.com/Microsoft/go-winio v0.6.1 // indirect
42-
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
43+
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
4344
github.com/acomagu/bufpipe v1.0.4 // indirect
4445
github.com/cloudflare/circl v1.3.3 // indirect
4546
github.com/containerd/containerd v1.7.2 // indirect
@@ -70,18 +71,18 @@ require (
7071
github.com/rivo/uniseg v0.4.4 // indirect
7172
github.com/robfig/cron v1.2.0 // indirect
7273
github.com/sergi/go-diff v1.2.0 // indirect
73-
github.com/skeema/knownhosts v1.1.1 // indirect
74+
github.com/skeema/knownhosts v1.2.0 // indirect
7475
github.com/stretchr/objx v0.5.0 // indirect
7576
github.com/xanzy/ssh-agent v0.3.3 // indirect
7677
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
7778
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
7879
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
79-
golang.org/x/crypto v0.9.0 // indirect
80+
golang.org/x/crypto v0.11.0 // indirect
8081
golang.org/x/mod v0.9.0 // indirect
81-
golang.org/x/net v0.10.0 // indirect
82+
golang.org/x/net v0.12.0 // indirect
8283
golang.org/x/sync v0.2.0 // indirect
83-
golang.org/x/sys v0.10.0 // indirect
84-
golang.org/x/text v0.9.0 // indirect
84+
golang.org/x/sys v0.11.0 // indirect
85+
golang.org/x/text v0.11.0 // indirect
8586
golang.org/x/tools v0.7.0 // indirect
8687
gopkg.in/warnings.v0 v0.1.2 // indirect
8788
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)