Skip to content

feat: Add emoji to slack message blocks #423

feat: Add emoji to slack message blocks

feat: Add emoji to slack message blocks #423

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
paths:
- .github/workflows/ci.yml
- src/**
- .dockerignore
- Cargo.lock
- Cargo.toml
- Dockerfile
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
before-build-checks:
name: Before build checks
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Format
run: cargo fmt --all --check --verbose
- name: Clippy
run: cargo clippy --all-targets --all-features
- name: Check packages
run: cargo check --locked --verbose
- name: Test
run: cargo test --verbose
build:
needs: before-build-checks
name: Build
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
env:
PLATFORM_PAIR: linux-amd64
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3
- uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6
with:
push: false
file: Dockerfile
tags: takashicc/slack-approval:latest
cache-from: type=gha,scope=${{ env.PLATFORM_PAIR }}
cache-to: type=gha,mode=max,scope=${{ env.PLATFORM_PAIR }}