Skip to content

Commit

Permalink
[ci] Atualiza versões das actions usadas
Browse files Browse the repository at this point in the history
  • Loading branch information
diraol committed Nov 9, 2024
1 parent 09e8e99 commit 5fb5862
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4

- name: Retrieve Flutter version from FVM config
uses: kuhnroyal/flutter-fvm-config-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: TruffleHog OSS
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
changed_dart_files: ${{ steps.added-and-modified-files.outputs.dart }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4

- id: changed-files
name: Get changed files
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v45
with:
files: |
**/*.dart
Expand All @@ -47,7 +47,7 @@ jobs:
if: ${{ needs.check-changes.outputs.changed_files }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4

- name: Retrieve Flutter version from FVM config
uses: kuhnroyal/flutter-fvm-config-action@v1
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4

- name: Retrieve Flutter version from FVM config
uses: kuhnroyal/flutter-fvm-config-action@v1
Expand Down Expand Up @@ -117,4 +117,4 @@ jobs:
run: flutter test --timeout=1h --dart-define=isCI=true --coverage

- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/distribute-flutter-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/distribute-flutter-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4

- name: Select Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.4.app
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,28 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@4
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
uses: ossf/scorecard-action@v5
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
publish_results: true

# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
retention-days: 7

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

0 comments on commit 5fb5862

Please sign in to comment.