mirror of
https://github.com/danbulant/deno_install
synced 2026-05-19 04:08:42 +00:00
Also remove support for non-windows in powershell. I'm very sure no one uses it, it complicates the script, I don't care to maintain it.
32 lines
609 B
YAML
32 lines
609 B
YAML
name: ci
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- name: shfmt
|
|
if: matrix.os == 'macOS-latest'
|
|
run: |
|
|
brew install shfmt
|
|
shfmt -d .
|
|
|
|
- name: tests shell
|
|
if: matrix.os != 'windows-latest'
|
|
shell: bash
|
|
run: ./install_test.sh
|
|
|
|
- name: tests powershell
|
|
if: matrix.os == 'windows-latest'
|
|
shell: pwsh
|
|
run: ./install_test.ps1
|
|
|