feat: replace exa per eza #48
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: | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
name: 💿 Static analysis | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: git submodule update --init --recursive | |
- name: Set needed environment variables | |
run: | | |
echo "DOTFILES_PATH=$PWD" >> $GITHUB_ENV | |
echo "DOTLY_PATH=$PWD/modules/dotly" >> $GITHUB_ENV | |
- name: 💿 Static analysis | |
run: bash "$DOTLY_PATH/scripts/self/static_analysis" | |
lint: | |
runs-on: ubuntu-latest | |
name: 💅 Lint | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: git submodule update --init --recursive | |
- name: Set needed environment variables | |
run: | | |
echo "DOTFILES_PATH=$PWD" >> $GITHUB_ENV | |
echo "DOTLY_PATH=$PWD/modules/dotly" >> $GITHUB_ENV | |
echo "PATH=$PATH:$HOME/go/bin" >> $GITHUB_ENV | |
- name: 📥 Install shfmt | |
run: go get mvdan.cc/sh/v3/cmd/shfmt | |
- name: 💅 Lint bash files | |
run: bash "$DOTLY_PATH/scripts/self/lint" |