diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f788745..697102c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,36 +29,36 @@ jobs: # run: | # sudo npm install --global prettier -# - name: Set up Python 3.13 -# uses: actions/setup-python@v5 -# with: -# python-version: 3.13 + - name: Set up Python 3.13 + uses: actions/setup-python@v5 + with: + python-version: 3.13 -# - name: Install Python packages (Lint) -# run: | -# python -m pip install --upgrade pip -# pip install black flake8 pylint yamllint + - name: Install Python packages (Lint) + run: | + python -m pip install --upgrade pip + pip install black flake8 pylint yamllint -# - name: YAML Lint -# run: | -# yamllint ./ + - name: YAML Lint + run: | + yamllint ./ # # - name: Prettier Check Up # # run: | # # prettier --check --no-bracket-spacing '**/*.{yaml,json}' -# - name: Install Python packages (Hass.IO) -# run: | -# pip install yq jq -# pip install homeassistant + - name: Install Python packages (Hass.IO) + run: | + pip install yq jq + pip install homeassistant -# - name: Check HassIO configuration -# run: | -# sudo mkdir -p /config/snapshots -# hass --version -# mv secrets.yaml.sample secrets.yaml -# hass -c . --script check_config | tee check.output -# ! less check.output | grep -q "Failed config" + - name: Check HassIO configuration + run: | + sudo mkdir -p /config/snapshots + hass --version + mv secrets.yaml.sample secrets.yaml + hass -c . --script check_config | tee check.output + ! less check.output | grep -q "Failed config" # # - name: Send a telegram message with job status # # if: always()