Workflows um Format Stage erweitern #175
@@ -60,6 +60,7 @@ jobs:
|
||||
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -101,9 +102,18 @@ jobs:
|
||||
git add lib test
|
||||
git commit -m "Auto-format code"
|
||||
git push
|
||||
# Alt: git push https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
||||
else
|
||||
echo "No changes to commit"
|
||||
fi
|
||||
|
||||
- name: Verify format
|
||||
run: flutter analyze lib test
|
||||
|
||||
|
||||
update-version:
|
||||
uses: stikkyapp/update-pubspec-version@v2
|
||||
with:
|
||||
strategy: 'patch'
|
||||
bump-build: false
|
||||
path: './pubspec.yaml'
|
||||
|
||||
Reference in New Issue
Block a user