Skip to content

Commit

Permalink
update the CI configuration; prep for publishing (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Oct 7, 2022
1 parent f392f85 commit 66f14ce
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
15 changes: 6 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Set update schedule for GitHub Actions
# See https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot

# Dependabot configuration file.
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
9 changes: 5 additions & 4 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
PUB_ENVIRONMENT: bot.github

permissions: read-all

jobs:
Expand All @@ -23,8 +24,8 @@ jobs:
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand All @@ -50,8 +51,8 @@ jobs:
os: [ubuntu-latest]
sdk: [2.12.0, dev]
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 2.0.1-dev
## 2.0.1

* Populate the pubspec `repository` field.
* Migrate to `package:lints`.
* Update the package's markdown badges.

## 2.0.0

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[![Dart CI](https://github.com/dart-lang/test_descriptor/actions/workflows/test-package.yml/badge.svg)](https://github.com/dart-lang/test_descriptor/actions/workflows/test-package.yml)
[![pub package](https://img.shields.io/pub/v/test_descriptor.svg)](https://pub.dev/packages/test_descriptor)
[![package publisher](https://img.shields.io/pub/publisher/test_descriptor.svg)](https://pub.dev/packages/test_descriptor/publisher)

The `test_descriptor` package provides a convenient, easy-to-read API for
defining and verifying directory structures in tests.

## Usage

We recommend that you import this library with the `d` prefix. The
[`d.dir()`][dir] and [`d.file()`][file] functions are the main entrypoints. They
define a filesystem structure that can be created using
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: test_descriptor
version: 2.0.1-dev
version: 2.0.1
description: An API for defining and verifying directory structures.
repository: https://github.com/dart-lang/test_descriptor

Expand Down

0 comments on commit 66f14ce

Please sign in to comment.