Add lint support for stacktraces in catch (#294) #463
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: Tests | |
on: [push] | |
jobs: | |
testing-on-dart-stable: | |
strategy: | |
matrix: | |
# os: [ubuntu-latest, macOS-latest, windows-latest] | |
os: [ubuntu-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
# Install just one or all simultaneously | |
# The value must indicate a particular version of the tool, or use 'latest' | |
# to always provision the latest version | |
cli: latest #1.10.1.693 # Clojure CLI based on tools.deps | |
# lein: 2.9.1 # Leiningen | |
# boot: 2.8.3 # Boot.clj | |
# bb: 0.7.8 # Babashka | |
# (optional) To avoid rate limit errors please provide github token | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Dart | |
uses: dart-lang/setup-dart@v1 | |
- name: Execute ClojureDart tests on Linux and MacOS | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: ./run-tests | |
shell: bash | |
testing-on-dart2: | |
strategy: | |
matrix: | |
# os: [ubuntu-latest, macOS-latest, windows-latest] | |
os: [ubuntu-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
# Install just one or all simultaneously | |
# The value must indicate a particular version of the tool, or use 'latest' | |
# to always provision the latest version | |
cli: latest #1.10.1.693 # Clojure CLI based on tools.deps | |
# lein: 2.9.1 # Leiningen | |
# boot: 2.8.3 # Boot.clj | |
# bb: 0.7.8 # Babashka | |
# (optional) To avoid rate limit errors please provide github token | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: 2.19.6 | |
- name: Execute ClojureDart tests on Linux and MacOS | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: ./run-tests | |
shell: bash |