-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,17 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
deno: | ||
[1.x, "1.33.1", canary, ~1.32, b290fd01f3f5d32f9d010fc719ced0240759c049, rc] | ||
- "1.x" | ||
- "1.33.1" | ||
- "canary" | ||
- "~1.32" | ||
- "b290fd01f3f5d32f9d010fc719ced0240759c049" | ||
- "rc" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -38,14 +46,6 @@ jobs: | |
deno install --allow-net -n deno_curl https://deno.land/[email protected]/examples/curl.ts | ||
deno_curl https://deno.land/[email protected]/examples/curl.ts | ||
- name: Format | ||
if: runner.os == 'Linux' && matrix.deno == 'canary' | ||
run: npm run fmt:check | ||
|
||
- name: Lint | ||
if: runner.os == 'Linux' && matrix.deno == 'canary' | ||
run: npm run lint | ||
|
||
test-version-file: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -66,7 +66,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest, macos-latest ] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -77,3 +77,22 @@ jobs: | |
|
||
- name: Check binary exists | ||
run: deno_foo -V | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Deno | ||
uses: ./ | ||
with: | ||
deno-version: "rc" | ||
|
||
- name: Lint | ||
run: deno lint | ||
|
||
- name: Format | ||
run: deno fmt --check | ||
|
||
- name: Check types | ||
run: deno check main.mjs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"checkJs": true, | ||
"allowJs": true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.