Update Ghostfolio to v2.114.0 #212
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint add-on | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/[email protected] | |
- name: 🚀 Run Home Assistant Add-on Lint | |
uses: frenck/action-addon-linter@v2 | |
with: | |
path: "./" | |
- name: Check versions match | |
run: | | |
docker_ver=$(grep "FROM ghostfolio/ghostfolio" Dockerfile | cut -d':' -f2) | |
build_ver=$(jq -r ".args.ghostfolio_version" build.json) | |
if [ "$docker_ver" != "$build_ver" ]; then | |
echo -e "\033[31;1mGhostfolio versions don't match: Dockerfile => ${docker_ver} | build.json => ${build_ver}\033[0m" | |
exit 1 | |
fi | |
echo -e "\033[32;1mGhostfolio versions match: Dockerfile => ${docker_ver} | build.json => ${build_ver}\033[0m" |