Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Merge pull request #286 from artichoke/dev/lopopolo-no-more-discord #891

Merge pull request #286 from artichoke/dev/lopopolo-no-more-discord

Merge pull request #286 from artichoke/dev/lopopolo-no-more-discord #891

Workflow file for this run

---
name: CI
"on":
push:
branches:
- trunk
pull_request:
branches:
- trunk
schedule:
- cron: "0 0 * * TUE"
permissions: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
build:
- alpine
- debian
- ubuntu
include:
- build: alpine
dockerfile: alpine/Dockerfile
- build: debian
dockerfile: debian/bookworm/slim/Dockerfile
- build: ubuntu
dockerfile: ubuntu/noble/Dockerfile
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Build and push Docker images
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: ${{ matrix.dockerfile }}
push: false
docker:
name: Lint Dockerfiles
runs-on: ubuntu-latest
strategy:
matrix:
build:
- alpine
- debian
- ubuntu
include:
- build: alpine
dockerfile: alpine/Dockerfile
- build: debian
dockerfile: debian/bookworm/slim/Dockerfile
- build: ubuntu
dockerfile: ubuntu/noble/Dockerfile
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Lint ${{ matrix.build }} Dockerfile
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: ${{ matrix.dockerfile }}
ruby:
name: Lint and format Ruby
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Install Ruby toolchain
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
with:
ruby-version: ".ruby-version"
bundler-cache: true
- name: Lint and check formatting with Rubocop
run: bundle exec rubocop --format github
text:
name: Lint and format text
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
with:
version: "latest"
- name: Set up Python
run: uv python install
- name: Setup Node.js runtime
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "lts/*"
- name: Install toolchain
run: npm ci
- name: Format with prettier
run: npx prettier --check '**/*'
- name: Lint YAML sources with yamllint
run: uv run yamllint --strict --format github .