This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
chore: updates deno.json files #2216
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: ${{ matrix.kind }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Get Latest Release | |
id: latest_release | |
uses: pozetroninc/[email protected] | |
with: | |
repository: 'netzo/netzo' | |
- name: Set Latest Release as Env Variable | |
run: echo "LATEST_RELEASE=${{ steps.latest_release.outputs.release }}" >> $GITHUB_ENV | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Format | |
run: deno fmt --check | |
- name: Lint | |
run: deno lint --rules-exclude=no-explicit-any | |
- name: Setup Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "CI Bot" | |
- name: Test | |
run: deno test -A lib/cli/tests/ | |
# - name: Tests | |
# run: deno test --allow-env --allow-net --allow-read --allow-run |