Skip to content

chore(deps): update github actions #136

chore(deps): update github actions

chore(deps): update github actions #136

name: Continuous Integration
on:
push:
branches:
- main
- stable
pull_request:
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Deno fmt
run: deno fmt --check
testing:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Cache deno
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with:
key: ${{ runner.os }}-deno-${{ hashFiles('deps.ts') }}
restore-keys: ${{ runner.os }}-deno-
path: |
/home/runner/.deno
/home/runner/.cache/deno
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Deno test
env:
TOKEN: ${{ secrets.BOT_TOKEN }}
BOT_ID: ${{ secrets.BOT_ID }}
run: deno test -A