Skip to content

Probably ok to leave this off #41

Probably ok to leave this off

Probably ok to leave this off #41

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
env:
CARGO_TERM_COLOR: always
jobs:
analyse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
- name: Analyse the code
run: task analyse
build:
needs:
- analyse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
- name: Check if workspace is dirty
run: task dirty-check
test:
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
- name: Install ctlptl
run: |
CTLPTL_VERSION="0.8.29"
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | sudo tar -xzv -C /usr/local/bin ctlptl
- name: Install k3d
run: |
K3D_VERSION="5.6.3"
curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v$K3D_VERSION bash
- name: Test
run: task test