feat: "a" tag since NIP01 update (#33) #102
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: nostr CI | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Install and set Flutter version | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Upgrade flutter | |
run: flutter pub upgrade | |
- name: Restore packages | |
run: flutter pub get | |
- name: Analyze | |
run: flutter analyze | |
- name: Run tests | |
run: flutter test --coverage | |
- name: Download codcov uploader | |
run: curl -Os https://uploader.codecov.io/latest/linux/codecov | |
shell: bash | |
- name: Set codecov uploader executable | |
run: chmod +x codecov | |
shell: bash | |
- name: Execute codecov uploader | |
run: ./codecov | |
shell: bash |