From 2930aba49be929d2874010810e79d7aa63b3459c Mon Sep 17 00:00:00 2001 From: Martijn van Dijk Date: Wed, 31 Jul 2024 17:32:12 +0200 Subject: [PATCH] Use main branch --- .github/workflows/app_facing_package.yaml | 30 +++++++++++------------ .github/workflows/platform_interface.yaml | 14 +++++------ .github/workflows/web.yaml | 14 +++++------ README.md | 2 +- cached_network_image/CONTRIBUTING.md | 4 +-- cached_network_image/README.md | 2 +- 6 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/app_facing_package.yaml b/.github/workflows/app_facing_package.yaml index 894419bf..40940440 100644 --- a/.github/workflows/app_facing_package.yaml +++ b/.github/workflows/app_facing_package.yaml @@ -4,13 +4,13 @@ name: app_facing_package # events but only for the develop branch on: push: - branches: [ develop, master ] + branches: [develop, main] paths: - - 'cached_network_image/**' + - "cached_network_image/**" pull_request: - branches: [ develop ] + branches: [develop] paths: - - 'cached_network_image/**' + - "cached_network_image/**" # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -31,7 +31,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -60,7 +60,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -90,13 +90,13 @@ jobs: # Ensure correct JAVA version is installed. - uses: actions/setup-java@v3 with: - distribution: 'zulu' - java-version: '17' + distribution: "zulu" + java-version: "17" # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -126,7 +126,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -156,7 +156,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Enable platform support - name: Enable macOS @@ -191,7 +191,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Enable platform support - name: Enable Windows @@ -230,7 +230,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Enable platform support - name: Enable Linux @@ -270,7 +270,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -298,7 +298,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies diff --git a/.github/workflows/platform_interface.yaml b/.github/workflows/platform_interface.yaml index 439d8a1c..a1b9df98 100644 --- a/.github/workflows/platform_interface.yaml +++ b/.github/workflows/platform_interface.yaml @@ -4,13 +4,13 @@ name: platform_interface # events but only for the develop branch on: push: - branches: [ develop, master ] + branches: [develop, main] paths: - - 'cached_network_image_platform_interface/**' + - "cached_network_image_platform_interface/**" pull_request: - branches: [ develop ] + branches: [develop] paths: - - 'cached_network_image_platform_interface/**' + - "cached_network_image_platform_interface/**" # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -31,7 +31,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -60,7 +60,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -88,7 +88,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies diff --git a/.github/workflows/web.yaml b/.github/workflows/web.yaml index 4d206cc3..80c5d392 100644 --- a/.github/workflows/web.yaml +++ b/.github/workflows/web.yaml @@ -4,13 +4,13 @@ name: web # events but only for the develop branch on: push: - branches: [ develop, master ] + branches: [develop, main] paths: - - 'cached_network_image_web/**' + - "cached_network_image_web/**" pull_request: - branches: [ develop ] + branches: [develop] paths: - - 'cached_network_image_web/**' + - "cached_network_image_web/**" # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -31,7 +31,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -60,7 +60,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies @@ -88,7 +88,7 @@ jobs: # Make sure the stable version of Flutter is available - uses: subosito/flutter-action@v2 with: - channel: 'stable' + channel: "stable" # Download all Flutter packages - name: Download dependencies diff --git a/README.md b/README.md index 25fa6542..35dd1db1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Cached network image [![pub package](https://img.shields.io/pub/v/cached_network_image.svg)](https://pub.dartlang.org/packages/cached_network_image) -[![codecov](https://codecov.io/gh/Baseflow/flutter_cached_network_image/branch/master/graph/badge.svg?token=I5qW0RvoXN)](https://codecov.io/gh/Baseflow/flutter_cached_network_image) +[![codecov](https://codecov.io/gh/Baseflow/flutter_cached_network_image/branch/main/graph/badge.svg?token=I5qW0RvoXN)](https://codecov.io/gh/Baseflow/flutter_cached_network_image) [![Build Status](https://github.com/Baseflow/flutter_cached_network_image/workflows/app_facing_package/badge.svg?branch=develop)](https://github.com/Baseflow/flutter_cached_network_image/actions/workflows/app_facing_package.yaml) A flutter library to show images from the internet and keep them in the cache directory. diff --git a/cached_network_image/CONTRIBUTING.md b/cached_network_image/CONTRIBUTING.md index 414d495b..cfd57433 100644 --- a/cached_network_image/CONTRIBUTING.md +++ b/cached_network_image/CONTRIBUTING.md @@ -18,7 +18,7 @@ Setting up your development environment to generate an SSH key. * Clone your forked repo on your local development machine: `git clone git@github.com:/flutter_cached_network_image.git` * Change into the `flutter_cached_network_image` directory: `cd flutter_cached_network_image` - * Add an upstream to the original repo, so that fetch from the master repository and not your clone: `git remote add upstream git@github.com:baseflow/flutter_cached_network_image.git` + * Add an upstream to the original repo, so that fetch from the main repository and not your clone: `git remote add upstream git@github.com:baseflow/flutter_cached_network_image.git` Running the example project --------------------------- @@ -31,7 +31,7 @@ Contribute We really appreciate contributions via GitHub pull requests. To contribute take the following steps: - * Make sure you are up to date with the latest code on the master: + * Make sure you are up to date with the latest code on the main: * `git fetch upstream` * `git checkout upstream/develop -b ` * Apply your changes diff --git a/cached_network_image/README.md b/cached_network_image/README.md index 1bbb8493..cccf81e5 100644 --- a/cached_network_image/README.md +++ b/cached_network_image/README.md @@ -1,6 +1,6 @@ # Cached network image [![pub package](https://img.shields.io/pub/v/cached_network_image.svg)](https://pub.dartlang.org/packages/cached_network_image) -[![codecov](https://codecov.io/gh/Baseflow/flutter_cached_network_image/branch/master/graph/badge.svg?token=I5qW0RvoXN)](https://codecov.io/gh/Baseflow/flutter_cached_network_image) +[![codecov](https://codecov.io/gh/Baseflow/flutter_cached_network_image/branch/main/graph/badge.svg?token=I5qW0RvoXN)](https://codecov.io/gh/Baseflow/flutter_cached_network_image) [![Build Status](https://github.com/Baseflow/flutter_cached_network_image/workflows/app_facing_package/badge.svg?branch=develop)](https://github.com/Baseflow/flutter_cached_network_image/actions/workflows/app_facing_package.yaml) A flutter library to show images from the internet and keep them in the cache directory.