Skip to content

fix: resolve CI actionlint error and SQLite test permission issues#80

Open
joelklabo wants to merge 4 commits intomainfrom
fix-ci-issues
Open

fix: resolve CI actionlint error and SQLite test permission issues#80
joelklabo wants to merge 4 commits intomainfrom
fix-ci-issues

Conversation

@joelklabo
Copy link
Copy Markdown
Owner

This PR fixes two CI issues:

  1. Actionlint error: The shellcheck error SC2144 was caused by using -d with glob patterns. Fixed by replacing with a proper for loop.

  2. SQLite test permission issues: Tests were failing due to permission denied errors when trying to remove SQLite test files. Added proactive permission fixes before tests run.

Changes:

  • Replace problematic glob pattern test with for loop
  • Add step to fix SQLite file permissions before running tests
  • Keep existing cleanup step for post-test cleanup

Testing:

  • Actionlint should now pass
  • Tests should complete without permission errors
  • No functional changes to the actual application code

dependabot bot and others added 3 commits March 2, 2026 16:51
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.31.0 to 0.33.0.
- [Commits](golang/mod@v0.31.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
- Add permission fix step before PTY tests
- Set proper file/directory permissions in go module cache
- Fixes permission denied errors during SQLite test cleanup
- Addresses CI failures on macOS/Windows test runners
- Replace glob pattern test in if condition with proper for loop
- Add proactive SQLite file permission fixes before tests run
- Ensures both actionlint compliance and test stability
@github-actions github-actions bot added go Pull requests that update go code ci labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant