Feature/Replace Rancher API calls by kubectl calls #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- develop | |
schedule: | |
- cron: "0 2 * * 1-5" | |
workflow_dispatch: {} | |
jobs: | |
code-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checks-out the repository | |
uses: actions/checkout@v4 | |
- name: Lints Markdown files | |
uses: DavidAnson/markdownlint-cli2-action@v16 | |
with: | |
globs: '**/*.md' | |
# checking shell code with ShellCheck (https://github.com/koalaman/shellcheck) | |
- name: Installs packages | |
run: sudo apt install shellcheck | |
- name: Checks shell file code | |
run: | |
shellcheck -e SC2086 -e SC2034 scripts/**/*.sh |