mirror of
https://github.com/rainloreley/shlink-manager.git
synced 2024-11-24 02:33:01 +01:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
b29429c6b2
|
@ -0,0 +1,39 @@
|
|||
name: Fix formatting and license file
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'oracle'
|
||||
java-version: '21'
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v2
|
||||
|
||||
- name: Setup Flutter SDK
|
||||
uses: flutter-actions/setup-flutter@v2
|
||||
with:
|
||||
channel: stable
|
||||
version: 3.13.7
|
||||
|
||||
- name: Install dependencies
|
||||
run: dart pub get
|
||||
|
||||
- name: Verify formatting
|
||||
run: dart format --output=none .
|
||||
|
||||
- name: Update license file
|
||||
run: flutter packages pub run license_generator generate
|
||||
|
||||
- name: Commit and push
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
Loading…
Reference in New Issue
Block a user