Skip to content

chore(deps): update github actions (major) #203

chore(deps): update github actions (major)

chore(deps): update github actions (major) #203

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Cache deno
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
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