Skip to content

Commit

Permalink
Update workflow versions
Browse files Browse the repository at this point in the history
Some were deprecated node 16 ones

Also reformat the yaml files with prettier
  • Loading branch information
zbarbuto committed Mar 26, 2024
1 parent 603a0ec commit 729aad1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@v1

- name: 'Fetch packages'
run: dart pub get
- name: 'Fetch packages'
run: dart pub get

- name: Build generated files
run: dart run build_runner build --delete-conflicting-outputs
- name: Build generated files
run: dart run build_runner build --delete-conflicting-outputs

- name: 'Analyze project'
run: flutter analyze

- name: 'Run tests'
run: flutter test
- name: 'Analyze project'
run: flutter analyze

- name: 'Publish'
run: dart pub publish --force
- name: 'Run tests'
run: flutter test

- name: 'Publish'
run: dart pub publish --force

0 comments on commit 729aad1

Please sign in to comment.