Updated kotlin version (#533) #152
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: format + publishable | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
format_dart: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Format | |
run: | | |
flutter format --set-exit-if-changed . | |
format_kotlin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "checkout" | |
- uses: actions/checkout@v4 | |
- name: "ktlint" | |
uses: "vroy/gha-kotlin-linter@v1" | |
format_swift: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: GitHub Action for SwiftLint | |
uses: norio-nomura/[email protected] | |
publishable: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: publish checks | |
run: | | |
flutter pub get | |
flutter pub publish -n | |
flutter pub global activate tuneup | |
flutter pub global run tuneup check |