-
Notifications
You must be signed in to change notification settings - Fork 30
38 lines (36 loc) · 1.05 KB
/
runnable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Runnable (stable)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- uses: bluefireteam/melos-action@v3
- name: Replace symlinks
run: ./scripts/replace_symlinks_before_publish.sh
- run: cargo build --package=agent_dart
- run: cd packages/agent_dart_base && dart test ./test/agent_dart_base_test.dart
- name: Publish dry run
run: melos run publish-dry-run
if: ${{ github.repository == 'AstroxNetwork/agent_dart' && matrix.os == 'ubuntu-latest' }}