Skip to content

Commit 9e39a14

Browse files
Revert "chore(samples): mark samples novalidate (Kotlin#155)"
This reverts commit 1bd13f5.
1 parent 1bd13f5 commit 9e39a14

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.github/workflows/verify-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: AlexanderPrendota/kotlin-samples-pusher@v1
1919
with:
2020
push-repository: 'https://github.com/AlexanderPrendota/kotlin-compiler-server'
21-
tag-filter: '#tag="code" & class="language-run-kotlin" & !validate="false"'
21+
tag-filter: '#tag="code" & class="language-run-kotlin"'
2222
push-path: 'src/test/resources/test-compile-data/jvm/kotlin-by-example'
2323
username: '${{ secrets.KOTLIN_BY_EXAMPLE_TOKEN }}' #token with an access to create PR in push-repository and issue in this repository
2424

examples/01_introduction/03_Variables.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ fun main() {
2727
//sampleEnd
2828
}
2929
```
30-
{validate="false"}
3130

3231
1. Declares a variable without initialization.
3332
2. An attempt to use the variable causes a compiler error: `Variable 'e' must be initialized`.

examples/01_introduction/04_Null Safety.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ fun main() {
2626
//sampleEnd
2727
}
2828
```
29-
{validate="false"}
3029

3130
1. Declares a non-`null` String variable.
3231
2. When trying to assign `null` to non-nullable variable, a compilation error is produced.

0 commit comments

Comments
 (0)