v0.2.27

nektos/actv0.2.27Jun 21, 2022by nektos-ci

AI Summary

A major feature update that significantly enhances local GitHub Actions execution by implementing pre/post steps, adding support for chunked uploads, non-root containers, and Ubuntu 22.04.

Key Highlights

  • Implemented pre and post steps
  • Added support for chunked uploads
  • Added ubuntu-22.04 support
  • Allow env vars to supersede workflow vars
  • Non root user container

New Features

  • Pre/post steps
  • Chunked uploads
  • Ubuntu 22.04
  • Env var superseding
  • Non-root user
  • Volume mounts

Full Release Notes

## What's Changed

### New features

* Added support for chunked uploads. by @grigorye in https://github.com/nektos/act/pull/1208
* Allow passed in env vars to supersede ones declared in the workflow by @liamphmurphy in https://github.com/nektos/act/pull/1100
* implement pre and post steps by @KnisterPeter in https://github.com/nektos/act/pull/1089
* feat: split job steps into its own files/structs by @KnisterPeter in https://github.com/nektos/act/pull/1004
* feat: add option to specify git remote name by @catthehacker in https://github.com/nektos/act/pull/1104
* feat: support `GITHUB_REF_NAME` & `GITHUB_REF_TYPE` by @thiskevinwang in https://github.com/nektos/act/pull/1142
* feat/bug-report-extended by @catthehacker in https://github.com/nektos/act/pull/1163
* feat: add ubuntu-22.04 by @catthehacker in https://github.com/nektos/act/pull/1150
* feat: handle context cancelation during docker exec by @KnisterPeter in https://github.com/nektos/act/pull/1170
* feat: non root user container by @ChristopherHX in https://github.com/nektos/act/pull/1202
* implement volume mount for container job by @lesomnus in https://github.com/nektos/act/pull/1101

### Bug fixes

* pkg/runner: add support to replace GitHub's env by @aanm in https://github.com/nektos/act/pull/1197
* Remove the correct Volume by @ChristopherHX in https://github.com/nektos/act/pull/1148
* fix: set default version string by @catthehacker in https://github.com/nektos/act/pull/1070
* fix: don't overwrite with empty cmd/entrypoint by @catthehacker in https://github.com/nektos/act/pull/1076
* fix(editorconfig): correct braces by @catthehacker in https://github.com/nektos/act/pull/1094
* fix: return error on reusable workflows by @catthehacker in https://github.com/nektos/act/pull/1093
* fix: copy ignored tracked files by @ChristopherHX in https://github.com/nektos/act/pull/1074
* fix: expression evaluator do not error that much by @ChristopherHX in https://github.com/nektos/act/pull/1137
* fix: conclusion and outcome are no integers by @ChristopherHX in https://github.com/nektos/act/pull/1136
* fix: panic while running DRYRUN with local actions by @ChristopherHX in https://github.com/nektos/act/pull/1141
* fix: return invalid step type by @KnisterPeter in https://github.com/nektos/act/pull/1157
* fix: panic if a step in a job is nil by @ChristopherHX in https://github.com/nektos/act/pull/1145
* fix: remove composite restrictions by @catthehacker in https://github.com/nektos/act/pull/1128
* fix: Remove volume with same name as the container again by @ChristopherHX in https://github.com/nektos/act/pull/1203
* fix: dryrun skip local actions + enable Tests by @ChristopherHX in https://github.com/nektos/act/pull/1199
* fix: skip local actions pre step in any case by @KnisterPeter in https://github.com/nektos/act/pull/1204
* fix: allow TimeoutMinutes to be expression by @catthehacker in https://github.com/nektos/act/pull/1217
* fix: keep action inputs by @KnisterPeter in https://github.com/nektos/act/pull/1215
* fix: localcheckout mock by @ChristopherHX in https://github.com/nektos/act/pull/1198
* fix: processing of strategy.matrix.include by @ChristopherHX in https://github.com/nektos/act/pull/1200

### Documentation updates

* Update docs to reflect status of support for services by @jalevin in https://github.com/nektos/act/pull/1180
* README: add MacPorts badge by @herbygillot in https://github.com/nektos/act/pull/1129
* docs(README): remove go install by @catthehacker in https://github.com/nektos/act/pull/1123
* Update README.md: `nix run` command by @GuillaumeDesforges in https://github.com/nektos/act/pull/1121

### Updated dependencies

* update runc and containerd by @cplee in https://github.com/nektos/act/pull/1224
* deps: bump go-git by @catthehacker in https://github.com/nektos/act/pull/1057
* build(deps): bump github.com/docker/cli from 20.10.13+incompatible to 20.10.14+incompatible by @dependabot in https://github.com/nektos/act/pull/1081
* build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.2 to 2.3.4 by @dependabot in https://github.com/nektos/act/pull/1079
* build(deps): bump github.com/docker/docker from 20.10.13+incompatible to 20.10.14+incompatible by @dependabot in https://github.com/nektos/act/pull/1080
* build(deps): bump actions/cache from 2 to 3 by @dependabot in https://github.com/nektos/act/pull/1082
* deps: remove shlex by @catthehacker in https://github.com/nektos/act/pull/1086
* deps: bump go.mod to go1.18 by @catthehacker in https://github.com/nektos/act/pull/1088
* build(deps): bump github.com/opencontainers/selinux from 1.10.0 to 1.10.1 by @dependabot in https://github.com/nektos/act/pull/1102
* build(deps): bump github.com/rhysd/actionlint from 1.6.10 to 1.6.11 by @dependabot in https://github.com/nektos/act/pull/1106
* build(deps): bump deps which dependabot doesn't want to by @catthehacker in https://github.com/nektos/act/pull/1107
* build(deps): bump actions/stale from 4 to 5 by @dependabot in https://github.com/nektos/act/pull/1117
* build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/nektos/act/pull/1120
* build(deps): bump actions/upload-artifact from 2 to 3 by @dependabot in https://github.com/nektos/act/pull/1119
* build(deps): bump github.com/moby/buildkit from 0.10.0 to 0.10.1 by @dependabot in https://github.com/nektos/act/pull/1116
* build(deps): bump codecov/codecov-action from 2.1.0 to 3.0.0 by @dependabot in https://github.com/nektos/act/pull/1118
* build(deps): bump github.com/rhysd/actionlint from 1.6.11 to 1.6.12 by @dependabot in https://github.com/nektos/act/pull/1126
* build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0 by @dependabot in https://github.com/nektos/act/pull/1139
* build(deps): bump github.com/moby/buildkit from 0.10.1 to 0.10.2 by @dependabot in https://github.com/nektos/act/pull/1147
* build(deps): bump github.com/docker/cli from 20.10.14+incompatible to 20.10.15+incompatible by @dependabot in https://github.com/nektos/act/pull/1154
* build(deps): bump github.com/docker/docker from 20.10.14+incompatible to 20.10.15+incompatible by @dependabot in https://github.com/nektos/act/pull/1155
* build(deps): bump docker/setup-qemu-action from 1 to 2 by @dependabot in https://github.com/nektos/act/pull/1156
* build(deps): bump github.com/moby/buildkit from 0.10.2 to 0.10.3 by @dependabot in https://github.com/nektos/act/pull/1153
* build(deps): bump github.com/docker/cli from 20.10.15+incompatible to 20.10.16+incompatible by @dependabot in https://github.com/nektos/act/pull/1168
* build(deps): bump github.com/docker/docker from 20.10.15+incompatible to 20.10.16+incompatible by @dependabot in https://github.com/nektos/act/pull/1167
* build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 by @dependabot in https://github.com/nektos/act/pull/1169
* build(deps): bump github.com/rhysd/actionlint from 1.6.12 to 1.6.13 by @dependabot in https://github.com/nektos/act/pull/1173
* build(deps): bump goreleaser/goreleaser-action from 2 to 3 by @dependabot in https://github.com/nektos/act/pull/1179
* build(deps): bump github.com/go-ini/ini from 1.66.4 to 1.66.5 by @dependabot in https://github.com/nektos/act/pull/1189
* build(deps): bump github.com/go-ini/ini from 1.66.5 to 1.66.6 by @dependabot in https://github.com/nektos/act/pull/1201
* build(deps): bump github.com/docker/docker from 20.10.16+incompatible to 20.10.17+incompatible by @dependabot in https://github.com/nektos/act/pull/1212
* build(deps): bump github.com/docker/cli from 20.10.16+incompatible to 20.10.17+incompatible by @dependabot in https://github.com/nektos/act/pull/1211
* build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.4 to 2.3.5 by @dependabot in https://github.com/nektos/act/pull/1214
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in https://github.com/nektos/act/pull/1213

### Other

* governance: fix bug report rendering by @catthehacker in https://github.com/nektos/act/pull/1186
* automatically merge PRs from dependabot by @cplee in https://github.com/nektos/act/pull/1084
* refactor: simplify action function signatures by @KnisterPeter in https://github.com/nektos/act/pull/1083
* ci: bump go to 1.18 by @catthehacker in https://github.com/nektos/act/pull/1087
* tests(runner): move arm64 test to own func by @catthehacker in https://github.com/nektos/act/pull/1095
* use new paths from goreleaser by @cplee in https://github.com/nektos/act/pull/1135
* tests: remove runTestJobFile by @catthehacker in https://github.com/nektos/act/pull/1127
* ci: always grab latest go version by @catthehacker in https://github.com/nektos/act/pull/1124
* chore: fold integration test outputs by @KnisterPeter in https://github.com/nektos/act/pull/1111
* refactor: remove composite action runcontext workaround by @KnisterPeter in https://github.com/nektos/act/pull/1085
* ci(choco): update chocolatey to 1.1.0 by @catthehacker in https://github.com/nektos/act/pull/1164
* governance: new issue templates by @catthehacker in https://github.com/nektos/act/pull/1048
* refactor: remove github.com/pkg/errors dependency by @catthehacker in https://github.com/nektos/act/pull/1077
* Improve logging by @ZauberNerd in https://github.com/nektos/act/pull/1171
* auto generate changelog by @cplee in https://github.com/nektos/act/pull/1225

## New Contributors
* @liamphmurphy made their first contribution in https://github.com/nektos/act/pull/1100
* @lesomnus made their first contribution in https://github.com/nektos/act/pull/1101
* @GuillaumeDesforges made their first contribution in https://github.com/nektos/act/pull/1121
* @thiskevinwang made their first contribution in https://github.com/nektos/act/pull/1142
* @jalevin made their first contribution in https://github.com/nektos/act/pull/1180
* @aanm made their first contribution in https://github.com/nektos/act/pull/1197
* @grigorye made their first contribution in https://github.com/nektos/act/pull/1208

**Full Changelog**: https://github.com/nektos/act/compare/v0.2.26...v0.2.27