dddd #541
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, pull_request] | |
jobs: | |
bb-run-test-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
bb-version: [1.3.190, latest] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
bb: ${{ matrix.bb-version }} | |
- run: bb run test | |
bb-run-test-macos: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
bb-version: [1.3.190, latest] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
bb: ${{ matrix.bb-version }} | |
- run: bb run test | |
bb-run-test-windows: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
bb-version: [latest] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
bb: ${{ matrix.bb-version }} | |
- name: bb test | |
shell: bash | |
run: | | |
curl -sLO https://github.com/babashka/babashka-dev-builds/releases/download/v1.3.191-SNAPSHOT/babashka-1.3.191-SNAPSHOT-windows-amd64.zip | |
unzip babashka-1.3.191-SNAPSHOT-windows-amd64.zip | |
# overwrite installed bb with custom | |
cp bb.exe "$(which bb)" | |
- name: bb | |
run: | | |
bb run test -v babashka.bbin.scripts.local-file-test/upgrade-local-file-test | |
bb-run-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
bb-version: [1.3.190, latest] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
bb: ${{ matrix.bb-version }} | |
clj-kondo: latest | |
- run: bb run lint |