Skip to content

Commit

Permalink
⬆️ Update version matrices for Ruby, Node.js, Go, and Rust in workflo…
Browse files Browse the repository at this point in the history
…ws and tests
  • Loading branch information
7rikazhexde committed Feb 21, 2025
1 parent fc3953e commit c63faf2
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 14 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,40 @@
"ruby": [
"3.0.6",
"3.1.6",
"3.2.6"
"3.2.6",
"3.3.6",
"3.4.0",
"3.4.1",
"3.3.7",
"3.2.7",
"3.4.2"
],
"nodejs": [
"16",
"18",
"20",
"22"
"22",
"23"
],
"go": [
"1.23.0",
"1.23.1",
"1.23.2"
"1.23.2",
"1.23.3",
"1.23.4",
"1.23.5",
"1.23.6",
"1.24.0"
],
"rust": [
"1.79.0",
"1.80.0",
"1.81.0",
"1.82.0",
"1.83.0",
"1.84.0",
"1.84.1",
"1.85.0",
"stable"
]
},
Expand Down
32 changes: 26 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,20 +123,40 @@ This action uses a JSON configuration file (e.g. [matrix.json](.github/workflows
"ruby": [
"3.0.6",
"3.1.6",
"3.2.6"
"3.2.6",
"3.3.6",
"3.4.0",
"3.4.1",
"3.3.7",
"3.2.7",
"3.4.2"
],
"nodejs": [
"16",
"18",
"20"
"20",
"22",
"23"
],
"go": [
"1.21.0",
"1.22.0"
"1.23.0",
"1.23.1",
"1.23.2",
"1.23.3",
"1.23.4",
"1.23.5",
"1.23.6",
"1.24.0"
],
"rust": [
"1.75.0",
"1.76.0",
"1.79.0",
"1.80.0",
"1.81.0",
"1.82.0",
"1.83.0",
"1.84.0",
"1.84.1",
"1.85.0",
"stable"
]
},
Expand Down
26 changes: 21 additions & 5 deletions tests/test_json_to_github_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,41 @@ def test_parse_matrix_json() -> None:
"VERSIONS_PYTHON_1": "3.11",
"VERSIONS_PYTHON_2": "3.12",
"VERSIONS_PYTHON_3": "3.13",
"VERSIONS_RUBY": '["3.0.6", "3.1.6", "3.2.6"]',
"VERSIONS_RUBY": '["3.0.6", "3.1.6", "3.2.6", "3.3.6", "3.4.0", "3.4.1", "3.3.7", "3.2.7", "3.4.2"]',
"VERSIONS_RUBY_0": "3.0.6",
"VERSIONS_RUBY_1": "3.1.6",
"VERSIONS_RUBY_2": "3.2.6",
"VERSIONS_NODEJS": '["16", "18", "20", "22"]',
"VERSIONS_RUBY_3": "3.3.6",
"VERSIONS_RUBY_4": "3.4.0",
"VERSIONS_RUBY_5": "3.4.1",
"VERSIONS_RUBY_6": "3.3.7",
"VERSIONS_RUBY_7": "3.2.7",
"VERSIONS_RUBY_8": "3.4.2",
"VERSIONS_NODEJS": '["16", "18", "20", "22", "23"]',
"VERSIONS_NODEJS_0": "16",
"VERSIONS_NODEJS_1": "18",
"VERSIONS_NODEJS_2": "20",
"VERSIONS_NODEJS_3": "22",
"VERSIONS_GO": '["1.23.0", "1.23.1", "1.23.2"]',
"VERSIONS_NODEJS_4": "23",
"VERSIONS_GO": '["1.23.0", "1.23.1", "1.23.2", "1.23.3", "1.23.4", "1.23.5", "1.23.6", "1.24.0"]',
"VERSIONS_GO_0": "1.23.0",
"VERSIONS_GO_1": "1.23.1",
"VERSIONS_GO_2": "1.23.2",
"VERSIONS_RUST": '["1.79.0", "1.80.0", "1.81.0", "1.82.0", "stable"]',
"VERSIONS_GO_3": "1.23.3",
"VERSIONS_GO_4": "1.23.4",
"VERSIONS_GO_5": "1.23.5",
"VERSIONS_GO_6": "1.23.6",
"VERSIONS_GO_7": "1.24.0",
"VERSIONS_RUST": '["1.79.0", "1.80.0", "1.81.0", "1.82.0", "1.83.0", "1.84.0", "1.84.1", "1.85.0", "stable"]',
"VERSIONS_RUST_0": "1.79.0",
"VERSIONS_RUST_1": "1.80.0",
"VERSIONS_RUST_2": "1.81.0",
"VERSIONS_RUST_3": "1.82.0",
"VERSIONS_RUST_4": "stable",
"VERSIONS_RUST_4": "1.83.0",
"VERSIONS_RUST_5": "1.84.0",
"VERSIONS_RUST_6": "1.84.1",
"VERSIONS_RUST_7": "1.85.0",
"VERSIONS_RUST_8": "stable",
"GHPAGES_BRANCH": "ghgapes",
}

Expand Down

0 comments on commit c63faf2

Please sign in to comment.