Skip to content

Commit

Permalink
Merge pull request #271 from gjtorikian/native-33
Browse files Browse the repository at this point in the history
Builds on behalf of Ruby 3.3
  • Loading branch information
gjtorikian authored Jan 3, 2024
2 parents f84848b + 75e55eb commit 973f4ae
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,31 @@ jobs:

clippy_format:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Obtain Rust
run: rustup override set ${{ matrix.rust }}
- name: Set up Rust
id: toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
tmp/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-v1

- name: Check clippy
run: rustup component add clippy && cargo clippy
run: cargo clippy

- name: Check formatting
run: rustup component add rustfmt && cargo fmt -- --check
run: cargo fmt -- --check
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

[workspace]
members = ["ext/commonmarker"]
resolver = "2"
4 changes: 3 additions & 1 deletion ext/commonmarker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
name = "commonmarker"
version = "1.0.0"
edition = "2021"
rust-version = "1.75.0"
publish = false

[dependencies]
magnus = "0.6"
magnus = "0.6"
comrak = { version = "0.20", features = ["shortcodes"] }
syntect = { version = "5.1", features = ["plist-load"] }

Expand Down
2 changes: 1 addition & 1 deletion lib/commonmarker/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Commonmarker
VERSION = "1.0.3"
VERSION = "1.0.4"
end

0 comments on commit 973f4ae

Please sign in to comment.