Skip to content

Commit

Permalink
Enable weekly scheduled build
Browse files Browse the repository at this point in the history
Enable weekly scheduled build.
Also update Go to v1.2.9.

Signed-off-by: David Enyeart <[email protected]>
  • Loading branch information
denyeart committed Apr 30, 2024
1 parent 257277f commit 2d80476
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ on:
pull_request:
branches:
- "**"
workflow_dispatch:
workflow_call:

env:
GOPATH: /opt/go
PATH: /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
GO_VER: 1.21.6
GO_VER: 1.21.9

jobs:
unit-tests:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Scheduled build

on:
schedule:
- cron: "23 03 * * 0"

jobs:
main:
uses: ./.github/workflows/build.yml

0 comments on commit 2d80476

Please sign in to comment.