Skip to content

Commit 2e059d1

Browse files
authored
Added scheduled builds and updated build badge to point to it. (#50)
1 parent a7da95f commit 2e059d1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: CI for PR Merge
33
on:
44
pull_request:
55
branches: [ main ]
6+
schedule:
7+
# Every day at 11:16 UTC.
8+
- cron: '16 11 * * *'
69

710
jobs:
811
macos_build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SwiftFormat Rules for Bazel
22

3-
[![Build](https://github.com/cgrindel/rules_swiftformat/actions/workflows/ci.yml/badge.svg)](https://github.com/cgrindel/rules_swiftformat/actions/workflows/ci.yml)
3+
[![Build](https://github.com/cgrindel/rules_swiftformat/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/cgrindel/rules_swiftformat/actions/workflows/ci.yml)
44

55
This repository contains Bazel rules and macros that will format Swift source files using
66
[nicklockwood/SwiftFormat](https://github.com/nicklockwood/SwiftFormat), test that the formatted

0 commit comments

Comments
 (0)