Skip to content

CI/CD

CI/CD #621

Workflow file for this run

name: CI/CD
on:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: "20 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Updates
run: make deps
- name: Build
run: make build
- name: Lint
run: make cicd-lint
- name: Run checks
run: |
make nightly
make install-cargo-deny
make install-udeps
make check
- name: Run tests
run: make test
- name: Build docs
run: make docs
- name: Run rucksack (locally)
run: ./tests/rucksack_dev.sh
- name: Install rucksack (crates.io)
run: cargo install rucksack
- name: Run rucksack
run: ./tests/rucksack.sh
- name: Notify CI/CD Slack Channel
uses: innocarpe/actions-slack@v1
with:
status: ${{ job.status }}
success_text: '✅ Build for ${{ github.repository }} succeeded! 😄🌈🐴🚢🐿 (commit id: ${{ github.sha }})'
failure_text: '❌ Build for ${{ github.repository }} failed! 🤬💣🔥🚒 (commit id: ${{ github.sha }})'
cancelled_text: '🚧 Build for ${{ github.repository }} was cancelled ... 😯🦡 (commit id: ${{ github.sha }})'
env:
GITHUB_TOKEN: ${{ secrets.CICD_BOT_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.CICD_BOT_WEBHOOK }}
if: always()