Skip to content

Commit 3e7b9e2

Browse files
committed
Reduce CI runtime
1 parent a3ba5e6 commit 3e7b9e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/github-actions-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2828
- name: Run my little go program that does busy work.
2929
run: cd example-process && go run main.go
30-
- run: echo "🍏 This job's status is ${{ job.status }}." && sleep 60
30+
- run: echo "🍏 This job's status is ${{ job.status }}." && sleep 10

example-process/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func main() {
1111
}
1212

1313
func printTenTimes() {
14-
for i := 0; i < 10; i++ {
14+
for i := 0; i < 5; i++ {
1515
fmt.Println("Looping...")
1616
doNothingButLoop()
1717
time.Sleep(5 * time.Second)

0 commit comments

Comments
 (0)