fix: terminal env and apt permission in ci , fix vscode target #39
This file contains hidden or 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-dotfiles | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| ci-dotfiles: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install deps, make & lint | |
| env: | |
| TERM: xterm | |
| run: | | |
| sudo apt update && sudo apt install -y bash git make shellcheck vim curl | |
| make help | |
| make dotfiles | |
| # shellcheck ~/.bashrc | |
| # shellcheck ~/.bash_profile |