Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump versions of workflow actions, add to dependabot #1823

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ updates:
- dependency-name: "*"
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
- "version-update:semver-patch"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
118 changes: 59 additions & 59 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Dart Package Analyser
uses: axel-op/dart-package-analyzer@master
uses: axel-op/dart-package-analyzer@v3
id: analysis
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -32,13 +32,13 @@ jobs:
echo Package score less than available score. Improve the score!
exit 1
fi

analyse-code:
name: "Analyse Code"
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
Expand All @@ -55,90 +55,90 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Run Tests with Coverage
run: flutter test -r expanded --coverage
- name: Run Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build-android:
name: "Build Android Example App"
runs-on: ubuntu-latest
needs: [run-tests, analyse-code, score-package]
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Java 17 Environment
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Android Application
run: flutter build apk
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: apk-build
path: example/build/app/outputs/apk/release
if-no-files-found: error
name: "Build Android Example App"
runs-on: ubuntu-latest
needs: [ run-tests, analyse-code, score-package ]
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Java 17 Environment
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Android Application
run: flutter build apk
- name: Archive Artifact
uses: actions/upload-artifact@v4
with:
name: apk-build
path: example/build/app/outputs/apk/release
if-no-files-found: error

build-windows:
name: "Build Windows Example App"
runs-on: windows-latest
needs: [run-tests, analyse-code, score-package]
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Windows Application
run: flutter build windows
- name: Create Windows Application Installer
run: iscc "windowsApplicationInstallerSetup.iss"
working-directory: .
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: exe-build
path: windowsTemp/WindowsApplication.exe
if-no-files-found: error
name: "Build Windows Example App"
runs-on: windows-latest
needs: [ run-tests, analyse-code, score-package ]
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Windows Application
run: flutter build windows
- name: Create Windows Application Installer
run: iscc "windowsApplicationInstallerSetup.iss"
working-directory: .
- name: Archive Artifact
uses: actions/upload-artifact@v4
with:
name: exe-build
path: windowsTemp/WindowsApplication.exe
if-no-files-found: error

build-web:
name: "Build Web Example App"
runs-on: ubuntu-latest
needs: [run-tests, analyse-code, score-package]
needs: [ run-tests, analyse-code, score-package ]
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Web Application
run: flutter build web --web-renderer canvaskit
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: web-build
path: example/build/web
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
- uses: actions/stale@v9
with:
days-before-issue-stale: 21
days-before-issue-close: 7
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Run Tests with Coverage
run: flutter test -r expanded --coverage
- name: Run Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build-android:
name: "Build Android Example App"
runs-on: ubuntu-latest
needs: [run-tests]
needs: [ run-tests ]
if: github.repository == 'fleaflet/flutter_map'
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Java 17 Environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
Expand All @@ -50,23 +50,23 @@ jobs:
- name: Build Android Application
run: flutter build apk
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: apk-build
path: example/build/app/outputs/apk/release
if-no-files-found: error

build-windows:
name: "Build Windows Example App"
runs-on: windows-latest
needs: [run-tests]
needs: [ run-tests ]
if: github.repository == 'fleaflet/flutter_map'
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
Expand All @@ -77,7 +77,7 @@ jobs:
run: iscc "windowsApplicationInstallerSetup.iss"
working-directory: .
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: exe-build
path: windowsTemp/WindowsApplication.exe
Expand All @@ -86,28 +86,28 @@ jobs:
build-web:
name: "Build & Deploy Web Example App"
runs-on: ubuntu-latest
needs: [run-tests]
needs: [ run-tests ]
if: github.repository == 'fleaflet/flutter_map'
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Web Application
run: flutter build web --web-renderer canvaskit
- name: Archive Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: web-build
path: example/build/web
if-no-files-found: error
- name: Publish Live Web App
uses: FirebaseExtended/action-hosting-deploy@main
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLEAFLET }}"
Expand Down
Loading