diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddaa0ffdc..be2419678 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - stable runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: channel: ${{matrix.channel}} diff --git a/.github/workflows/codcoverage.yml b/.github/workflows/codcoverage.yml index 48284b59e..9a8ce26a3 100644 --- a/.github/workflows/codcoverage.yml +++ b/.github/workflows/codcoverage.yml @@ -11,16 +11,23 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: subosito/flutter-action@v1 + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 with: channel: 'stable' - - name: Run tests with coverage - run: | - make dep - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - make ci_coverage_client - ./codecov - make ci_coverage_flutter - ./codecov \ No newline at end of file + - name: Install dependencies + run: make dep + - name: Run coverage (dart) + run: make ci_coverage_client + - name: Upload coverage (dart) + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: graphql + - name: Run coverage (flutter) + run: make ci_coverage_flutter + - name: Upload coverage (flutter) + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: graphql_flutter \ No newline at end of file diff --git a/.github/workflows/release_dart.yml b/.github/workflows/release_dart.yml index 7fd0f95b5..ca2288e32 100644 --- a/.github/workflows/release_dart.yml +++ b/.github/workflows/release_dart.yml @@ -5,7 +5,6 @@ on: types: [created] tags: - graphql-v* - push: workflow_run: workflows: - "Test" @@ -19,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout' - uses: actions/checkout@v2 # required! + uses: actions/checkout@v4 # required! - name: 'publish graphql to to Pub.dev' uses: k-paxian/dart-package-publisher@master diff --git a/.github/workflows/release_flutter.yml b/.github/workflows/release_flutter.yml index e79bf3c55..08d2c4e07 100644 --- a/.github/workflows/release_flutter.yml +++ b/.github/workflows/release_flutter.yml @@ -5,7 +5,6 @@ on: types: [created] tags: - graphql_flutter-v* - push: workflow_run: workflows: - "Build" @@ -19,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout' - uses: actions/checkout@v2 # required! + uses: actions/checkout@v4 # required! - name: 'publish graphql-flutter to to Pub.dev' uses: k-paxian/dart-package-publisher@master @@ -27,5 +26,6 @@ jobs: credentialJson: ${{ secrets.CREDENTIAL_JSON }} flutter: true skipTests: true + force: true dryRunOnly: ${{ github.event_name != 'release' }} relativePath: './packages/graphql_flutter/' \ No newline at end of file diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml index d02b45ecc..189f4bfed 100644 --- a/.github/workflows/release_packages.yml +++ b/.github/workflows/release_packages.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: 'graphql publish to to Pub.dev' uses: k-paxian/dart-package-publisher@master with: @@ -26,7 +26,7 @@ jobs: - publishing_client steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v4 # FIXME: when we bump a new release, we can have problem # in dry mode because the new release is not on the pub.dev # yet diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 553bbf78e..87c92b646 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,8 +10,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: subosito/flutter-action@v1 + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 with: channel: 'stable' - name: Install dependencies diff --git a/packages/graphql/changelog.json b/packages/graphql/changelog.json index 174d40af1..7c33913a4 100644 --- a/packages/graphql/changelog.json +++ b/packages/graphql/changelog.json @@ -1,6 +1,6 @@ { "package_name": "graphql", - "version": "v5.2.3", + "version": "v5.2.4", "api": { "name": "github", "repository": "zino-hofmann/graphql-flutter", diff --git a/packages/graphql/pubspec.yaml b/packages/graphql/pubspec.yaml index 7f5fd5046..72391869d 100644 --- a/packages/graphql/pubspec.yaml +++ b/packages/graphql/pubspec.yaml @@ -1,6 +1,6 @@ name: graphql description: A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package. -version: 5.2.3 +version: 5.2.4 repository: https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql issue_tracker: https://github.com/zino-hofmann/graphql-flutter/issues diff --git a/packages/graphql_flutter/changelog.json b/packages/graphql_flutter/changelog.json index daa3bb9fb..cf70de72e 100644 --- a/packages/graphql_flutter/changelog.json +++ b/packages/graphql_flutter/changelog.json @@ -1,6 +1,6 @@ { "package_name": "graphql_flutter", - "version": "v5.2.1", + "version": "v5.3.0", "api": { "name": "github", "repository": "zino-hofmann/graphql-flutter", diff --git a/packages/graphql_flutter/pubspec.yaml b/packages/graphql_flutter/pubspec.yaml index 5d233859a..c6cfb8c41 100644 --- a/packages/graphql_flutter/pubspec.yaml +++ b/packages/graphql_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: graphql_flutter description: A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. -version: 5.2.1 +version: 5.3.0 repository: https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql_flutter issue_tracker: https://github.com/zino-hofmann/graphql-flutter/issues @@ -8,7 +8,7 @@ issue_tracker: https://github.com/zino-hofmann/graphql-flutter/issues # publish_to: 'none' dependencies: - graphql: ^5.2.2 + graphql: ^5.2.4 gql_exec: ^1.0.0+1 flutter: sdk: flutter