From 9ba4a563a2ec900b373b12c56dfe848fb0abfc2e Mon Sep 17 00:00:00 2001 From: Frederik Feichtmeier Date: Sun, 7 Jan 2024 13:41:16 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7b51a0b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Nightly + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +env: + FLUTTER_VERSION: 3.16.x + +jobs: + goldens: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + flutter-version: ${{env.FLUTTER_VERSION}} + - run: flutter test --update-goldens + - uses: peter-evans/create-pull-request@v4 + with: + title: 'Update golden images' + commit-message: 'Update golden images'