Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test

Check warning on line 1 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:1: overly broad permissions: default permissions used due to no permissions: block
on:
push:
branches: [master]
Expand All @@ -13,26 +13,26 @@
PUB_ENVIRONMENT: bot.github

jobs:
lints:

Check warning on line 16 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:16: overly broad permissions: default permissions used due to no permissions: block
name: Format + Lints
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Check failure on line 21 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 21 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:21: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: subosito/flutter-action@v2

Check failure on line 22 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 22 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:22: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
channel: 'stable'
cache: true
- run: flutter pub get
- run: dart format --output none --set-exit-if-changed .
- run: dart analyze --fatal-warnings .
linux:

Check warning on line 29 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:29: overly broad permissions: default permissions used due to no permissions: block
name: Linux desktop / Chrome / Firefox
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Check failure on line 34 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 34 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:34: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: subosito/flutter-action@v2

Check failure on line 35 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 35 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:35: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
channel: 'stable'
cache: true
Expand All @@ -48,21 +48,21 @@
# Report collected coverage
- name: Convert coverage to lcov
run: dart run coverage:format_coverage -i ./coverage -o ./coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@v2

Check failure on line 51 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 51 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:51: unpinned action reference: action is not pinned to a hash (required by blanket policy)
linux-dart:

Check warning on line 52 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:52: overly broad permissions: default permissions used due to no permissions: block
name: Linux Dart / Chrome / Firefox
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Check failure on line 57 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 57 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:57: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: dart-lang/setup-dart@v1

Check failure on line 58 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 58 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:58: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Install Valgrind
run: |
sudo apt-get update -y
sudo apt-get install -y valgrind
- run: dart pub get --no-example
- run: xvfb-run dart test --exclude-tags 'browser-interop || sanitizer' -p vm,chrome,firefox -c dart2js,dart2wasm
linux-asan:

Check warning on line 65 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:65: overly broad permissions: default permissions used due to no permissions: block
name: Linux ASan
runs-on: ubuntu-latest
timeout-minutes: 20
Expand All @@ -73,13 +73,13 @@
sdk: 3.14.0-281.0.dev
- run: dart pub get --no-example
- run: dart test -c cli -p vm-asan test/ffi/sanitizer_test.dart
macos:

Check warning on line 76 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:76: overly broad permissions: default permissions used due to no permissions: block
name: MacOS desktop / Chrome
runs-on: macos-15 # Test with xcode 16
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Check failure on line 81 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 81 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:81: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: subosito/flutter-action@v2

Check failure on line 82 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 82 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:82: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
channel: 'stable'
cache: true
Expand All @@ -90,12 +90,12 @@
- run: dart test --exclude-tags 'browser-interop || sanitizer' -p vm,chrome -c dart2js,dart2wasm
- run: flutter test integration_test/webcrypto_test.dart -d macos --timeout 5m
working-directory: ./example/webcrypto_demo_flutter_app
windows:

Check warning on line 93 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:93: overly broad permissions: default permissions used due to no permissions: block
name: Windows desktop / Chrome / Firefox
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: ilammy/setup-nasm@v1

Check failure on line 98 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:98: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
Expand All @@ -108,9 +108,9 @@
- run: dart test --exclude-tags 'browser-interop || sanitizer' -p vm,chrome,firefox
- run: flutter test integration_test/webcrypto_test.dart -d windows
working-directory: ./example/webcrypto_demo_flutter_app
ios:

Check warning on line 111 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:111: overly broad permissions: default permissions used due to no permissions: block
name: iOS emulator (iPhone)
runs-on: macos-14
runs-on: macos-15
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand All @@ -123,7 +123,7 @@
flutter config --no-analytics
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 15'
model: 'iPhone 16'
- run: flutter pub get
- name: Run integration tests
uses: nick-fields/retry@v3
Expand All @@ -131,7 +131,7 @@
timeout_minutes: 20
max_attempts: 2
command: cd example/webcrypto_demo_flutter_app && flutter test integration_test/webcrypto_test.dart -d iphone --timeout 60s
android:

Check warning on line 134 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:134: overly broad permissions: default permissions used due to no permissions: block
name: Android emulator
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down
Loading