Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Updated GitHub Actions workflow for continuous integration
This commit introduces a GitHub Actions workflow for continuous integration (CI) to automate the testing and validation of the Cloudflare UFW updater script. The workflow performs the following actions: - **Runs `shellcheck`:** Analyzes the script for potential errors and style issues. - **Executes basic tests:** Installs dependencies, mocks the `ufw` command to avoid making actual changes to the firewall, and runs the script with different arguments. This CI workflow helps to ensure the quality and reliability of the script by automatically catching potential issues before they are merged into the main branch. **Benefits:** - **Early detection of errors:** Identifies potential problems early in the development process. - **Improved code quality:** Enforces coding standards and best practices. - **Increased confidence in changes:** Provides assurance that changes do not introduce regressions.
- Loading branch information