Skip to content
Merged
Show file tree
Hide file tree
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
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '**'

jobs:
build:
uses: Workiva/gha-dart-oss/.github/workflows/build.yaml@v0.1.11

checks:
uses: Workiva/gha-dart-oss/.github/workflows/checks.yaml@v0.1.11
with:
format-check: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently we weren't previously checking formatting? I can turn it on and run format if we would like

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mm fun. I say we hold off on that for now

additional-checks: |
no_entrypoint_imports

unit-tests:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these jobs are renamed, I'll update Rosie before we merge to check for the renamed versions of the checks

uses: Workiva/gha-dart-oss/.github/workflows/test-unit.yaml@v0.1.11

testing-and-checks-complete:
name: Testing and Checks Completed
needs: [ build, checks, unit-tests ]
if: ${{ !cancelled() && github.event_name == 'pull_request' || github.ref_type == 'tag' }}
runs-on: ubuntu-latest
steps:
- run: |
if [ "${{ needs.checks.result }}" == "failure" ]; then
echo "Some checks have failed. Please fix the issues and try again."
exit 1
fi
echo 'All Testing and checks have completed.'
111 changes: 0 additions & 111 deletions .github/workflows/dart_ci.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

permissions:
contents: write
id-token: write
pull-requests: write

jobs:
publish:
uses: Workiva/gha-dart-oss/.github/workflows/publish.yaml@v0.1.11
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OverReact Test Changelog

## Unreleased
* Set up gha-dart-oss ([#174](https://github.com/Workiva/over_react_test/pull/174))

## 3.0.2
* React 18 Prep - suppress react_dom.render warnings ([#170](https://github.com/Workiva/over_react_test/pull/170))

Expand Down