Skip to content

Commit

Permalink
Merge branch 'main' into feat/dart-pub-unpack
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed May 20, 2024
2 parents a71469f + d7d3096 commit 5e258d1
Show file tree
Hide file tree
Showing 59 changed files with 658 additions and 184 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -44,7 +44,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
uses: github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -58,4 +58,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6
6 changes: 3 additions & 3 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -49,6 +49,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@ccf74c947955fd1cf117aef6a0e4e66191ef6f61
uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6
with:
sarif_file: results.sarif
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
experimental: false
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand All @@ -56,7 +56,7 @@ jobs:
name: Check if code excerpts are up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand All @@ -71,7 +71,7 @@ jobs:
name: Build site and check links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand All @@ -97,7 +97,7 @@ jobs:
name: Check if text can be replaced with site variables
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand All @@ -112,7 +112,7 @@ jobs:
name: Validate Firebase configuration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
Expand Down
4 changes: 2 additions & 2 deletions examples/analysis/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: examples
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
examples_util: {path: ../util}

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/analysis_alt/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: examples
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/async_await/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: async_await
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
examples_util: {path: ../util}

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/build_runner_usage/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: build_runner_usage
description: dart.dev build_runner example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
args: ^2.4.0
build_runner: ^2.4.8
build_test: ^2.2.2
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: cli_examples
description: Examples for CLI tutorials on dart.dev

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
args: ^2.4.2

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/concurrency/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version: 0.0.1
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
http: any

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/create_libraries/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: dart.dev example code.
version: 1.0.0

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/extension_methods/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: dart.dev example code.
version: 1.0.0

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/fetch_data/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description: Fetch data example
version: 0.0.1

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
http: ^1.2.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/futures/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version: 0.0.1
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
examples_util: {path: ../util}

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/html/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ description: dart.dev example code.
version: 0.0.1

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
examples_util: {path: ../util}
4 changes: 2 additions & 2 deletions examples/iterables/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: iterables_examples
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
examples_util: {path: ../util}
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/language/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: examples
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
examples_util: { path: ../util }

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
2 changes: 1 addition & 1 deletion examples/misc/lib/language_tour/classes/employee.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Employee extends Person {
// #docregion super
// Person does not have a default constructor;
// you must call super.fromJson().
Employee.fromJson(super.data) : super.fromJson() {
Employee.fromJson(Map data) : super.fromJson(data) {
print('in Employee');
}
// #docregion method-then-constructor
Expand Down
4 changes: 2 additions & 2 deletions examples/misc/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: examples
description: dart.dev example code.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
args: ^2.4.2
Expand All @@ -11,5 +11,5 @@ dependencies:
http: ^1.2.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/non_promotion/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: dart.dev non-promotion examples.
version: 0.0.1

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/null_safety_codelab/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: null_safety_codelab_examples
description: dart.dev example code for null safety codelab

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
examples_util: {path: ../util}
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/type_system/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: type_system_examples
description: dart.dev type system examples.

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
examples_util: {path: ../util}

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2
4 changes: 2 additions & 2 deletions examples/util/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description: dart.dev example utilities.
version: 0.0.2

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
test: ^1.25.2

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions examples/vector_victor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ version: 1.0.0
# homepage: https://www.example.com

environment:
sdk: ^3.3.0
sdk: ^3.4.0

# dependencies:
# path: ^1.8.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.2

dependencies:
Expand Down

0 comments on commit 5e258d1

Please sign in to comment.