Skip to content

analog/filter: fix filtering for button message type #1888

analog/filter: fix filtering for button message type

analog/filter: fix filtering for button message type #1888

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build/Test
runs-on: ubuntu-latest
steps:
- name: Pull the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Restore ccache
uses: actions/cache/restore@v4
with:
path: ccache
key: ccache-
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup missing directories and files on the runner
run: |
mkdir -p ~/.ssh
touch ~/.gitconfig
- name: Prepare container
uses: devcontainers/[email protected]
with:
imageName: opendeck # Local name only
imageTag: latest # Local tag only
push: never
- name: Build and test targets
uses: devcontainers/[email protected]
with:
imageName: opendeck
imageTag: latest
push: never
runCmd: |
git fetch --tags
./scripts/build_targets.sh --type=build
./scripts/build_targets.sh --type=test
- name: Save ccache
uses: actions/cache/save@v4
if: always()
with:
path: ccache
key: "ccache-${{ github.run_id }}"
format:
name: Code formatting
runs-on: ubuntu-latest
steps:
- name: Pull the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup missing directories and files on the runner
run: |
mkdir -p ~/.ssh
touch ~/.gitconfig
- name: Prepare container
uses: devcontainers/[email protected]
with:
imageName: opendeck # Local name only
imageTag: latest # Local tag only
push: never
- name: Check formatting
uses: devcontainers/[email protected]
with:
imageName: opendeck
imageTag: latest
push: never
runCmd: |
make format
lint:
name: Code linting
runs-on: ubuntu-latest
steps:
- name: Pull the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup missing directories and files on the runner
run: |
mkdir -p ~/.ssh
touch ~/.gitconfig
- name: Prepare container
uses: devcontainers/[email protected]
with:
imageName: opendeck # Local name only
imageTag: latest # Local tag only
push: never
- name: Check formatting
uses: devcontainers/[email protected]
with:
imageName: opendeck
imageTag: latest
push: never
runCmd: |
./scripts/build_targets.sh --type=lint