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

ci: update actions #1617

Merged
merged 1 commit into from
Aug 31, 2023
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ jobs:
if: env.GITHUB_HEAD_REF != null

- name: dart analyze
uses: invertase/github-action-dart-analyzer@cdd8652b05bf7ed08ffce30f425436780f869f13 # pin@v1
uses: invertase/github-action-dart-analyzer@1cda5922c6369263b1c7e2fbe281f69704f4d63e # pin@v2.0.0
with:
annotate: true
fatal-infos: true
12 changes: 6 additions & 6 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'dio/**'
- 'file/**'
- 'sqflite/**'
- "logging/**"
- "dio/**"
- "file/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
@@ -74,10 +74,10 @@ jobs:
name: sentry
files: ./dart/coverage/lcov.info

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: './dart/coverage/lcov.info'
path: "./dart/coverage/lcov.info"
min_coverage: 85

analyze:
14 changes: 7 additions & 7 deletions .github/workflows/dio.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'flutter/**'
- 'file/**'
- 'sqflite/**'
- "logging/**"
- "flutter/**"
- "file/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
@@ -34,7 +34,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
sdk: [stable, beta]
exclude:
- os: windows-latest
- os: windows-latest
sdk: beta
- os: macos-latest
sdk: beta
@@ -57,10 +57,10 @@ jobs:
name: sentry_dio
files: ./dio/coverage/lcov.info

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: './dio/coverage/lcov.info'
path: "./dio/coverage/lcov.info"
min_coverage: 81

analyze:
14 changes: 7 additions & 7 deletions .github/workflows/file.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'flutter/**'
- 'dio/**'
- 'sqflite/**'
- "logging/**"
- "flutter/**"
- "dio/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
@@ -34,7 +34,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
sdk: [stable, beta]
exclude:
- os: windows-latest
- os: windows-latest
sdk: beta
- os: macos-latest
sdk: beta
@@ -56,10 +56,10 @@ jobs:
name: sentry_file
files: ./file/coverage/lcov.info

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: './file/coverage/lcov.info'
path: "./file/coverage/lcov.info"
min_coverage: 55

analyze:
24 changes: 12 additions & 12 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'dio/**'
- 'file/**'
- 'sqflite/**'
- "logging/**"
- "dio/**"
- "file/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
@@ -31,8 +31,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
target: ['ios', 'android', 'web', 'macos', 'linux', 'windows']
sdk: ['stable', 'beta']
target: ["ios", "android", "web", "macos", "linux", "windows"]
sdk: ["stable", "beta"]
exclude:
- os: ubuntu-latest
target: ios
@@ -69,11 +69,11 @@ jobs:
- uses: actions/setup-java@v3
if: ${{ matrix.target == 'android' }}
with:
java-version: '11'
distribution: 'adopt'
java-version: "11"
distribution: "adopt"

# Install required dependencies for Flutter on Linux on Ubuntu
- name: 'Setup Linux'
- name: "Setup Linux"
run: |
sudo apt update
sudo apt install -y cmake dbus libblkid-dev libgtk-3-dev liblzma-dev ninja-build pkg-config xvfb
@@ -108,12 +108,12 @@ jobs:
with:
name: sentry_flutter
file: ./flutter/coverage/lcov.info
functionalities: 'search' # remove after https://github.com/codecov/codecov-action/issues/600
functionalities: "search" # remove after https://github.com/codecov/codecov-action/issues/600

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0
if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux'
with:
path: './flutter/coverage/lcov.info'
path: "./flutter/coverage/lcov.info"
min_coverage: 90

- name: Build ${{ matrix.target }}
14 changes: 7 additions & 7 deletions .github/workflows/logging.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'dio/**'
- 'flutter/**'
- 'file/**'
- 'sqflite/**'
- "dio/**"
- "flutter/**"
- "file/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
@@ -34,7 +34,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
sdk: [stable, beta]
exclude:
- os: windows-latest
- os: windows-latest
sdk: beta
- os: macos-latest
sdk: beta
@@ -57,9 +57,9 @@ jobs:
name: sentry_logging
files: ./logging/coverage/lcov.info

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0 if: runner.os == 'Linux' && matrix.sdk == 'stable'
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0 if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: './logging/coverage/lcov.info'
path: "./logging/coverage/lcov.info"
min_coverage: 90

analyze:
24 changes: 12 additions & 12 deletions .github/workflows/sqflite.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'flutter/**'
- 'dio/**'
- 'file/**'
- "logging/**"
- "flutter/**"
- "dio/**"
- "file/**"

jobs:
cancel-previous-workflow:
@@ -31,8 +31,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
target: ['ios', 'android', 'macos', 'linux', 'windows']
sdk: ['stable', 'beta']
target: ["ios", "android", "macos", "linux", "windows"]
sdk: ["stable", "beta"]
exclude:
- os: ubuntu-latest
target: ios
@@ -65,11 +65,11 @@ jobs:
- uses: actions/setup-java@v3
if: ${{ matrix.target == 'android' }}
with:
java-version: '11'
distribution: 'adopt'
java-version: "11"
distribution: "adopt"

# Install required dependencies for Flutter on Linux on Ubuntu
- name: 'Setup Linux'
- name: "Setup Linux"
run: |
sudo apt update
sudo apt install -y cmake dbus libblkid-dev libgtk-3-dev liblzma-dev ninja-build pkg-config xvfb
@@ -97,12 +97,12 @@ jobs:
with:
name: sentry_sqflite
file: ./sqflite/coverage/lcov.info
functionalities: 'search' # remove after https://github.com/codecov/codecov-action/issues/600
functionalities: "search" # remove after https://github.com/codecov/codecov-action/issues/600

- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # pin@v2.1.0
if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux'
with:
path: './sqflite/coverage/lcov.info'
path: "./sqflite/coverage/lcov.info"
min_coverage: 80

analyze: