diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3199395e6..514e140d7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest #needs: PR-Greeting steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 @@ -50,7 +50,7 @@ jobs: - name: Running count lines run: ./.github/workflows/countline.py --exclude_directories test/ --exclude_files lib/custom_painters/talawa_logo.dart lib/custom_painters/language_icon.dart lib/custom_painters/whatsapp_logo.dart lib/utils/queries.dart lib/view_model/after_auth_view_models/profile_view_models/profile_page_view_model.dart lib/view_model/pre_auth_view_models/select_organization_view_model.dart lib/views/after_auth_screens/profile/profile_page.dart lib/view_model/main_screen_view_model.dart lib/views/after_auth_screens/events/create_event_page.dart - name: setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Check for presence of ignore directives corresponding to custom lints run: chmod +x ./.github/workflows/check_ignore.py - name: Run check_ignore @@ -89,7 +89,7 @@ jobs: # - name: Echo the GitHub context for troubleshooting # run: echo "${{ toJSON(github) }}" # - name: setup python -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # - name: Granting permission to documentationcheck.py # run: chmod +x ./.github/workflows/documentationcheck.py # - name: execute py script @@ -105,7 +105,7 @@ jobs: runs-on: ubuntu-latest needs: Flutter-Codebase-Check steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' # See 'Supported distributions' for available options @@ -119,7 +119,7 @@ jobs: - name: Codebase testing run: flutter test --coverage - name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true @@ -136,7 +136,7 @@ jobs: runs-on: ubuntu-latest needs: Flutter-Codebase-Check steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' # See 'Supported distributions' for available options @@ -155,7 +155,7 @@ jobs: runs-on: macos-latest needs: Flutter-Codebase-Check steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: flutter-version: '3.16.0' diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 929de9d25..0d6d1997e 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -30,7 +30,7 @@ jobs: name: Checking codebase runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # This is important to fetch all history for all branches and tags. # This could be important for our documentation generation process. @@ -51,7 +51,7 @@ jobs: - name: Checking for correct formatting of code run: dart format --set-exit-if-changed . - name: setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Check for presence of ignore directives corresponding to custom lints run: chmod +x ./.github/workflows/check_ignore.py - name: Run check_ignore @@ -77,7 +77,7 @@ jobs: if: github.ref == 'refs/heads/automated-docs' environment: TALAWA_ENVIRONMENT steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' # See 'Supported distributions' for available options @@ -140,7 +140,7 @@ jobs: if: github.ref == 'refs/heads/automated-docs' needs: Update-Documentation steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dmnemec/copy_file_to_another_repo_action@v1.1.1 env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB_NEW }} @@ -161,7 +161,7 @@ jobs: needs: Flutter-Codebase-Check # needs: Update-Documentation steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' # See 'Supported distributions' for available options @@ -177,7 +177,7 @@ jobs: - name: Codebase testing run: flutter test --coverage - name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true @@ -192,7 +192,7 @@ jobs: runs-on: ubuntu-latest needs: Flutter-Testing steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' # See 'Supported distributions' for available options @@ -228,7 +228,7 @@ jobs: runs-on: macos-latest needs: Flutter-Testing steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: flutter-version: '3.16.0'