Merge pull request #3 from dart-lang/update_ci
various updates to the CI
diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
new file mode 100644
index 0000000..7089e3e
--- /dev/null
+++ b/.github/dependabot.yaml
@@ -0,0 +1,10 @@
+# Dependabot configuration file.
+version: 2
+
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ labels:
+ - "autosubmit"
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f570ddc..16e7aee 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,9 +1,11 @@
name: Flute
+
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
+
jobs:
Main:
runs-on: ubuntu-latest
@@ -14,9 +16,9 @@
echo "Running on ${{ runner.os }}"
echo "Branch: ${{ github.ref }}; repo: ${{ github.repository }}."
- name: Fetch sources
- uses: actions/checkout@v2
+ uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Install Dart SDK
- uses: dart-lang/setup-dart@v1.3
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: 2.15.0-268.18.beta
- name: Pub get
diff --git a/README.md b/README.md
index 94d0812..1c9f97f 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
-# flute
+[![Flute](https://github.com/dart-lang/flute/actions/workflows/ci.yaml/badge.svg)](https://github.com/dart-lang/flute/actions/workflows/ci.yaml)
-An extract from Flutter code simplified for easier benchmarking of Dart runtimes. This code is not useful for anything except for benchmarking.
+An extraction from Flutter code, simplified for easier benchmarking of Dart
+runtimes.
+
+This code is not used for anything except for benchmarking.