forgotten to update the version on last fix #15
This file contains hidden or 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: Main | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
deploy: | |
name: Main | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
permissions: | |
id-token: write # Needed for auth with Deno Deploy | |
contents: read # Needed to clone the repository | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Format Deno code | |
run: deno fmt --check | |
- name: Lint Deno code | |
run: deno lint | |
- name: Test Deno code | |
run: deno test | |
- name: Build Deno code | |
run: deno compile --unstable --allow-net --allow-read --allow-write --output=dist/git-mirror.ts |