Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping GitHub Actions up-to-date, such as actions/checkout to v6, is crucial for security, stability, and access to the latest features. This ensures that the repository checkout process is robust and secure.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v6

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistently using the latest actions/checkout@v6 across all jobs in your workflows is a good practice. It minimizes potential vulnerabilities and ensures a uniform, up-to-date environment for each step.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v6

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintaining up-to-date versions of GitHub Actions, like this update to actions/checkout@v6, directly contributes to the security and reliability of your build process. This is a beneficial change.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v6

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update to actions/checkout@v6 in the distribute job aligns with the other updates and further strengthens the overall security and stability of your CI/CD pipeline.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v6

uses: actions/checkout@v6
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
Expand All @@ -36,7 +36,7 @@ jobs:
needs: analyze
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Flutter
uses: subosito/flutter-action@v2
Expand All @@ -53,7 +53,7 @@ jobs:
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Flutter
uses: subosito/flutter-action@v2
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Download app APK
uses: actions/download-artifact@v4
with:
Expand All @@ -118,7 +118,7 @@ jobs:
# if: github.ref == 'refs/heads/main'
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# uses: actions/checkout@v6

# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading actions/checkout from v3 to v6 in the commits.yml workflow is an excellent security enhancement. Newer versions often include crucial bug fixes and security improvements, making your commit message validation process more robust.

Suggested change
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-with-fastlane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# timeout-minutes: 20
# steps:
# - name: Checkout
# uses: actions/checkout@v4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating actions/checkout to v6 in this commented-out build_ios job is a proactive step. If the iOS build is enabled in the future, it will use a secure and up-to-date action by default.

Suggested change
# uses: actions/checkout@v4
# uses: actions/checkout@v6

# uses: actions/checkout@v6

# - name: Verify macOS version
# run: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
timeout-minutes: 20
steps:
- name: Checkout
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update to actions/checkout@v6 for the Android build process ensures consistency and leverages the latest features and security enhancements for checking out the repository code.

Suggested change
- name: Checkout
uses: actions/checkout@v6

uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
Loading