Skip to content

Commit

Permalink
Use main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed Jul 31, 2024
1 parent 2dfac01 commit 2930aba
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/app_facing_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/platform_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions cached_network_image/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:<your_name_here>/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 [email protected]: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 [email protected]:baseflow/flutter_cached_network_image.git`

Running the example project
---------------------------
Expand All @@ -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 <name_of_your_branch>`
* Apply your changes
Expand Down
2 changes: 1 addition & 1 deletion cached_network_image/README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 2930aba

Please sign in to comment.