ci: remove renovate config and most of 3rd party actions #99
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: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_call: | |
workflow_dispatch: | |
env: | |
TASK_X_REMOTE_TASKFILES: 1 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
env: | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
GH_TOKEN: ${{ github.token }} | |
run: gh repo clone ${{ github.repository }} ${{ github.workspace }} -- --depth=1 --branch "$BRANCH" | |
- name: Add brew to PATH | |
shell: bash | |
run: |- | |
{ | |
echo "/home/linuxbrew/.linuxbrew/sbin"; | |
echo "/home/linuxbrew/.linuxbrew/bin"; | |
} >> "$GITHUB_PATH" | |
- name: Install tools | |
run: | | |
brew install \ | |
actionlint \ | |
check-jsonschema \ | |
fd \ | |
go-task \ | |
jq \ | |
prettier \ | |
shellcheck \ | |
shfmt \ | |
yamlfmt \ | |
yamllint \ | |
- name: Lint | |
run: task lint --yes |