Skip to content

chore: Publish packages #4

chore: Publish packages

chore: Publish packages #4

Workflow file for this run

name: http_sfv
on:
pull_request:
paths:
- ".github/workflows/http_sfv.yaml"
- "packages/http_sfv/**"
# Prevent duplicate runs due to Graphite
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true
jobs:
check:
strategy:
fail-fast: true
matrix:
sdk:
- stable
- "3.3"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
with:
submodules: recursive
- name: Setup Dart
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # 1.6.5
with:
sdk: ${{ matrix.sdk }}
- name: Get Packages
working-directory: packages/http_sfv
run: dart pub get
- name: Analyze
working-directory: packages/http_sfv
run: dart analyze
- name: Format
working-directory: packages/http_sfv
run: dart format --set-exit-if-changed .
- name: Test
working-directory: packages/http_sfv
run: dart test