Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 4 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
- 'CHANGES.txt'
- '**/README.md'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -51,23 +50,6 @@ jobs:
sudo apt-get install libcryptsetup-dev
- name: Test linting on CURRENT DEVELOPMENT RUST TOOLCHAIN
run: make -f Makefile $TASK
typos:
env:
TASK: check-typos
runs-on: ubuntu-22.04
steps:
- name: Install git
run: sudo apt-get install git
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: baptiste0928/cargo-install@v3
with:
crate: typos-cli
- name: Test typos on CURRENT DEVELOPMENT RUST TOOLCHAIN
run: make -f Makefile $TASK


stable:
strategy:
Expand Down Expand Up @@ -242,17 +224,7 @@ jobs:
- name: Test ${{ matrix.task }} on LOWEST SUPPORTED RUST TOOLCHAIN
run: ${{ matrix.task }}

# VERIFICATION OF TEST INFRASTRUCTURE
yamllint:
runs-on: ubuntu-22.04
container: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install git
run: dnf install -y git
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install dependencies
run: dnf install -y make yamllint
- name: Run yamllint
run: make -f Makefile yamllint
general_checks:
uses: stratis-storage/github-actions/.github/workflows/reusable_general.yml@master
with:
fedora-container-image-number: 43 # CURRENT DEVELOPMENT ENVIRONMENT
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ audit:
check-typos:
typos

fix-typos:
typos -w

build:
cargo ${BUILD}

Expand Down Expand Up @@ -79,6 +82,7 @@ yamllint:
clippy
docs-rust
docs-ci
fix-typos
fmt
fmt-ci
release
Expand Down