-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 738 Bytes
/
Copy pathci.yml
File metadata and controls
35 lines (28 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: ci
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.kind }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
env:
GH_ACTIONS: true
DENO_BUILD_MODE: release
V8_BINARY: true
steps:
- uses: actions/checkout@v2
- name: Setup Deno
uses: denolib/setup-deno@master
with:
deno-version: 1.2
- name: Cache Deno Generated Files
uses: actions/cache@v1
with:
path: ~/.cache/deno
key: ${{ runner.os }}-deno-cache-${{ hashFiles('**/mod.ts') }}
- name: Format
run: deno fmt --check
- name: Tests
run: deno test