chore: upgrade github actions

This commit is contained in:
andig 2024-05-01 13:19:37 +02:00
parent 942a4391c5
commit fd653ec838
3 changed files with 5 additions and 7 deletions

View file

@ -134,11 +134,9 @@ jobs:
- run: mkdir dist && touch dist/empty
- name: Lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v5
with:
version: latest
skip-pkg-cache: true
skip-build-cache: true
args: --out-format=colored-line-number --timeout 5m
ui:

View file

@ -27,7 +27,7 @@ jobs:
run: make install docs
- name: Deploy to docs repo
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./templates/docs
@ -36,4 +36,4 @@ jobs:
destination_dir: ${{ github.event_name == 'release' && 'templates/release' || github.event_name == 'schedule' && 'templates/nightly' || 'templates/unknown_trigger' }}
allow_empty_commit: false
commit_message: ${{ github.event_name == 'release' && 'Templates update for release' || github.event_name == 'schedule' && 'Templates update for nightly' || 'Templates update unknown trigger' }}
if: ${{ success() }}
if: success()

View file

@ -28,7 +28,7 @@ jobs:
run: rm templates/evcc.io/.gitignore
- name: Deploy to evcc.io repo
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./templates/evcc.io/
@ -37,4 +37,4 @@ jobs:
destination_dir: data
allow_empty_commit: false
commit_message: Brand data update
if: ${{ success() }}
if: success()