chore: Update deps #561
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
name: master | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
- name: Integration | |
run: | | |
deno cache mod.ts | |
deno test --allow-read --allow-run --allow-write --allow-net tests/integration | |
- name: Ensure Permissions Work | |
run: | | |
cd tests/integration/out-of-date-deps | |
deno run --allow-read='deps.ts' --allow-write='deps.ts' --allow-net='unpkg.com,x.nest.land,cdn.deno.land,api.deno.land,raw.githubusercontent.com,github.com,api.github.com' ../../../mod.ts update | |
linting: | |
# Doesn't need to be checked in all OS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Deno | |
uses: denolib/setup-deno@master | |
- name: Check Code FMT | |
run: deno fmt --check | |
- name: Check Code Lint | |
run: deno lint |