Add markdown linter to CI

This commit is contained in:
angie 2023-09-22 15:54:19 -03:00
parent f63d4cdd8c
commit 802f953b59
8 changed files with 91 additions and 63 deletions

17
.github/workflows/md_lint.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Lint markdown files
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
name: Lint md files
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Lint markdown files
uses: articulate/actions-markdownlint@v1.1.0
with:
config: .markdownlint.jsonc

3
.gitignore vendored
View File

@ -211,7 +211,8 @@ dmypy.json
cython_debug/
.vscode/
.vscode/*
!.vscode/extensions.json
# Generated by Cargo
# will have compiled files and executables

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"davidanson.vscode-markdownlint"
]
}

View File

@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Add `CHANGELOG.md`
- Add markdown linter to CI
## [1.7.9] - 2023-09-18

View File

@ -4,7 +4,7 @@
[package]
name = "rabbitizer"
# Version should be synced with include/common/RabbitizerVersion.h
version = "1.7.9"
version = "1.7.10"
edition = "2021"
authors = ["Anghelo Carvajal <angheloalf95@gmail.com>"]
description = "MIPS instruction decoder"

View File

@ -14,7 +14,7 @@ extern "C" {
// Header version
#define RAB_VERSION_MAJOR 1
#define RAB_VERSION_MINOR 7
#define RAB_VERSION_PATCH 9
#define RAB_VERSION_PATCH 10
#define RAB_VERSION_STR RAB_STRINGIFY(RAB_VERSION_MAJOR) "." RAB_STRINGIFY(RAB_VERSION_MINOR) "." RAB_STRINGIFY(RAB_VERSION_PATCH)

View File

@ -4,7 +4,7 @@
[project]
name = "rabbitizer"
# Version should be synced with include/common/RabbitizerVersion.h
version = "1.7.9"
version = "1.7.10"
description = "MIPS instruction decoder"
# license = "MIT"
readme = "README.md"