-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into list-output
- Loading branch information
Showing
282 changed files
with
1,290,938 additions
and
482,432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,42 @@ jobs: | |
working-directory: ./crates/wasm-bindings | ||
run: | | ||
wasm-pack build --target web | ||
test-stdlib: | ||
name: Test the standard library | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
runs-on: | ||
- nscloud-ubuntu-22.04-amd64-4x16 | ||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
steps: | ||
- name: clone code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2023-11-16 | ||
override: true | ||
- name: build | ||
run: | | ||
cargo build --release | ||
- name: Checkout js repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: getgrit/stdlib | ||
path: stdlib | ||
- name: install-ruff | ||
run: | | ||
pip install ruff | ||
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
with: | ||
go-version: '^1.22.0' | ||
- name: test stdlib | ||
working-directory: ./stdlib | ||
run: | | ||
../target/release/marzano patterns test --exclude ai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: pr-lint | ||
|
||
on: | ||
pull_request_target: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language css | ||
|
||
`display: none;` => `display: some;` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<script lang="ts"> | ||
export default { | ||
inheritAttrs: false, | ||
}; | ||
</script> | ||
|
||
<script setup lang="ts"> | ||
defineProps<{ | ||
itemCount?: number; | ||
showingCount?: boolean; | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<transition name="fade"> | ||
<span v-if="itemCount" class="item-count"> | ||
{{ showingCount }} | ||
</span> | ||
</transition> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.item-count { | ||
position: relative; | ||
display: none; | ||
margin: 0 8px; | ||
color: var(--theme--foreground-subdued); | ||
white-space: nowrap; | ||
@media (min-width: 600px) { | ||
display: inline; | ||
} | ||
} | ||
.fade-enter-active, | ||
.fade-leave-active { | ||
transition: opacity var(--medium) var(--transition); | ||
} | ||
.fade-enter, | ||
.fade-leave-to { | ||
opacity: 0; | ||
} | ||
</style> |
Oops, something went wrong.