Skip to content

Commit

Permalink
Add periodic dependency check for ampd
Browse files Browse the repository at this point in the history
It will try to build the ampd binary periodically. We have some git dependencies without version fixing and that we want to maintain in that way because we are still adjusting many things and we want it to be "liquid".
  • Loading branch information
eloylp committed Apr 30, 2024
1 parent e77d253 commit 5a1809b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ampd-periodic-main-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ampd binary periodic build
on:
schedule:
# 7 am in the morning. If there are errors due to dependencies, engineers will be notified.
# We are not fixing versions because everything is liquid right now.
- cron: "0 07 * * *"

jobs:
build:
runs-on: ubuntu-latest
name: "Build the code"
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initially do not cache deps, do a fresh build from zero.

# - uses: Swatinem/rust-cache@v2
# with:
# cache-all-crates: true
# cache-on-failure: true
# workspaces: "ampd -> target"
# shared-key: "ampd"

- name: Build the code
run: cd ampd && cargo build

0 comments on commit 5a1809b

Please sign in to comment.