Skip to content

Commit

Permalink
Merge branch 'main' into recreateSigurdsPR
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem authored Oct 17, 2024
2 parents 61fb9c5 + 3a3ed8e commit ff8deb6
Show file tree
Hide file tree
Showing 331 changed files with 60,857 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/args.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:args"
about: "Create a bug or file a feature request against package:args."
labels: "package:args"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/async.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:async"
about: "Create a bug or file a feature request against package:async."
labels: "package:async"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/characters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:characters"
about: "Create a bug or file a feature request against package:characters."
labels: "package:characters"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/convert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:convert"
about: "Create a bug or file a feature request against package:convert."
labels: "package:convert"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/crypto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:crypto"
about: "Create a bug or file a feature request against package:crypto."
labels: "package:crypto"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/fixnum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:fixnum"
about: "Create a bug or file a feature request against package:fixnum."
labels: "package:fixnum"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:logging"
about: "Create a bug or file a feature request against package:logging."
labels: "package:logging"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/os_detect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:os_detect"
about: "Create a bug or file a feature request against package:os_detect."
labels: "package:os_detect"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:path"
about: "Create a bug or file a feature request against package:path."
labels: "package:path"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/platform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:platform"
about: "Create a bug or file a feature request against package:platform."
labels: "package:platform"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/typed_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:typed_data"
about: "Create a bug or file a feature request against package:typed_data."
labels: "package:typed_data"
---
42 changes: 41 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Configuration for .github/workflows/pull_request_label.yaml.

"package-args":
"package:args":
- changed-files:
- any-glob-to-any-file: 'pkgs/args/**'

"package:async":
- changed-files:
- any-glob-to-any-file: 'pkgs/async/**'

"package:characters":
- changed-files:
- any-glob-to-any-file: 'pkgs/characters/**'

"package:convert":
- changed-files:
- any-glob-to-any-file: 'pkgs/convert/**'

"package:crypto":
- changed-files:
- any-glob-to-any-file: 'pkgs/crypto/**'

"package:fixnum":
- changed-files:
- any-glob-to-any-file: 'pkgs/fixnum/**'

"package:logging":
- changed-files:
- any-glob-to-any-file: 'pkgs/logging/**'

"package:os_detect":
- changed-files:
- any-glob-to-any-file: 'pkgs/os_detect/**'

"package:path":
- changed-files:
- any-glob-to-any-file: 'pkgs/path/**'

"package:platform":
- changed-files:
- any-glob-to-any-file: 'pkgs/platform/**'

"package:typed_data":
- changed-files:
- any-glob-to-any-file: 'pkgs/typed_data/**'
6 changes: 3 additions & 3 deletions .github/workflows/args.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dart CI
name: package:args

on:
# Run CI on pushes to the main branch, and on PRs against main.
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
Expand All @@ -57,7 +57,7 @@ jobs:
os: [ubuntu-latest]
sdk: ['3.3', dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/async.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: package:async

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/async.yaml'
- 'pkgs/async/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/async.yaml'
- 'pkgs/async/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

defaults:
run:
working-directory: pkgs/async/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
# 2. release channel: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- run: dart test --platform chrome --compiler dart2js
if: always() && steps.install.outcome == 'success'
- run: dart test --platform chrome --compiler dart2wasm
if: always() && steps.install.outcome == 'success'
72 changes: 72 additions & 0 deletions .github/workflows/characters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: package:characters

on:
# Run CI on pushes to the main branch, and on PRs against main.
push:
branches: [ main ]
paths:
- '.github/workflows/characters.yaml'
- 'pkgs/characters/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/characters.yaml'
- 'pkgs/characters/**'
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github

defaults:
run:
working-directory: pkgs/characters/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against dev, stable, and 2.19.0 (the package's lower bound).
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev, stable, 3.4]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: matrix.sdk == 'dev' && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest
# 2. Release channel: dev, stable, and 2.19.0 (the package's lower bound)
test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
sdk: [dev, stable, 3.4]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- name: Run Chrome tests
run: dart test --platform chrome
if: always() && steps.install.outcome == 'success'
76 changes: 76 additions & 0 deletions .github/workflows/convert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: package:convert

on:
# Run CI on pushes to the main branch, and on PRs against main.
push:
branches: [ main ]
paths:
- '.github/workflows/convert.yaml'
- 'pkgs/convert/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/convert.yaml'
- 'pkgs/convert/**'
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github

defaults:
run:
working-directory: pkgs/convert/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
# 2. release sdk: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- name: Run Chrome tests
run: dart test --platform chrome
if: always() && steps.install.outcome == 'success'
- name: Run Chrome tests - wasm
run: dart test --platform chrome --compiler dart2wasm
if: always() && steps.install.outcome == 'success'
Loading

0 comments on commit ff8deb6

Please sign in to comment.