Skip to content

Update GitHub Actions to current versions - #18

Merged
mengesb merged 4 commits into
mainfrom
ci/update-github-actions
Jul 2, 2026
Merged

Update GitHub Actions to current versions#18
mengesb merged 4 commits into
mainfrom
ci/update-github-actions

Conversation

@mengesb

@mengesb mengesb commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade actions/checkout from v2 to v4 (all workflows)
  • Upgrade release-drafter/release-drafter from v5 to v6
  • Upgrade runner OS from ubuntu-20.04 to ubuntu-24.04 (all workflows)
  • Upgrade ec2-metadata-mock from v1.8.1 to v1.13.0
  • Upgrade bats-version from 1.2.1 to 1.11.1
  • Remove manual apt-get install shellcheck (pre-installed on ubuntu-24.04 runners)
  • Add explicit permissions blocks for release-drafter and shell-docs workflows
  • Add .github/dependabot.yml for automated GitHub Actions version updates going forward

Test plan

  • Verify shellcheck-lint workflow passes on a PR
  • Verify bats-unit workflow passes (ec2-metadata-mock v1.13.0 compatible)
  • Verify release-drafter runs on push to main
  • Verify shell-docs generates and commits doc updates

mengesb and others added 2 commits July 2, 2026 08:16
- Upgrade actions/checkout from v2 to v4
- Upgrade release-drafter/release-drafter from v5 to v6
- Upgrade runner OS from ubuntu-20.04 to ubuntu-24.04
- Upgrade ec2-metadata-mock from v1.8.1 to v1.13.0
- Upgrade bats-version from 1.2.1 to 1.11.1
- Remove manual shellcheck apt-get install (pre-installed on runner)
- Add explicit permissions blocks for release-drafter and shell-docs
- Add dependabot.yml for automated GitHub Actions version updates
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 2, 2026
mengesb added 2 commits July 2, 2026 08:34
The test files start ec2-metadata-mock in setup_file() but never kill
it in teardown_file(). When running multiple test files sequentially,
subsequent files fail to bind port 1338. Kill the mock process between
test file runs to avoid port conflicts.

Also replace mig4/setup-bats (stuck on node12) with direct bats-core
install from source.
Bats-core 1.7+ waits for background processes spawned in setup_file()
to exit before completing a test file. The test suite starts
ec2-metadata-mock in setup_file() without killing it in
teardown_file(), causing bats to hang indefinitely. Pin to v1.2.1
(original working version) until test files are updated.

Also replaces mig4/setup-bats (node12, unmaintained) with direct
install from bats-core source.
@mengesb
mengesb merged commit 06a80aa into main Jul 2, 2026
4 checks passed
@mengesb
mengesb deleted the ci/update-github-actions branch July 2, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant