mirror of https://github.com/apache/kafka.git
				
				
				
			KAFKA-16998 Fix warnings in our Github actions (#16410)
Reviewers: Vedarth Sharma <vesharma@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
		
							parent
							
								
									8a109d87d1
								
							
						
					
					
						commit
						fd00a3e58a
					
				| 
						 | 
				
			
			@ -32,9 +32,9 @@ jobs:
 | 
			
		|||
  build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
    - name: Set up Python 3.10
 | 
			
		||||
      uses: actions/setup-python@v3
 | 
			
		||||
      uses: actions/setup-python@v5
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: "3.10"
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
| 
						 | 
				
			
			@ -55,13 +55,13 @@ jobs:
 | 
			
		|||
        exit-code: '1'
 | 
			
		||||
    - name: Upload test report
 | 
			
		||||
      if: always()
 | 
			
		||||
      uses: actions/upload-artifact@v3
 | 
			
		||||
      uses: actions/upload-artifact@v4
 | 
			
		||||
      with:
 | 
			
		||||
        name: report_${{ github.event.inputs.image_type }}.html
 | 
			
		||||
        path: docker/test/report_${{ github.event.inputs.image_type }}.html
 | 
			
		||||
    - name: Upload CVE scan report
 | 
			
		||||
      if: always()
 | 
			
		||||
      uses: actions/upload-artifact@v3
 | 
			
		||||
      uses: actions/upload-artifact@v4
 | 
			
		||||
      with:
 | 
			
		||||
        name: scan_report_${{ github.event.inputs.image_type }}.txt
 | 
			
		||||
        path: scan_report_${{ github.event.inputs.image_type }}.txt
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,9 +31,9 @@ jobs:
 | 
			
		|||
  build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
    - name: Set up Python 3.10
 | 
			
		||||
      uses: actions/setup-python@v3
 | 
			
		||||
      uses: actions/setup-python@v5
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: "3.10"
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
| 
						 | 
				
			
			@ -54,13 +54,13 @@ jobs:
 | 
			
		|||
        exit-code: '1'
 | 
			
		||||
    - name: Upload test report
 | 
			
		||||
      if: always()
 | 
			
		||||
      uses: actions/upload-artifact@v3
 | 
			
		||||
      uses: actions/upload-artifact@v4
 | 
			
		||||
      with:
 | 
			
		||||
        name: report_${{ github.event.inputs.image_type }}.html
 | 
			
		||||
        path: docker/test/report_${{ github.event.inputs.image_type }}.html
 | 
			
		||||
    - name: Upload CVE scan report
 | 
			
		||||
      if: always()
 | 
			
		||||
      uses: actions/upload-artifact@v3
 | 
			
		||||
      uses: actions/upload-artifact@v4
 | 
			
		||||
      with:
 | 
			
		||||
        name: scan_report_${{ github.event.inputs.image_type }}.txt
 | 
			
		||||
        path: scan_report_${{ github.event.inputs.image_type }}.txt
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,7 +39,7 @@ jobs:
 | 
			
		|||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v4
 | 
			
		||||
    - name: Set up Python 3.10
 | 
			
		||||
      uses: actions/setup-python@v3
 | 
			
		||||
      uses: actions/setup-python@v5
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: "3.10"
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,7 +39,7 @@ jobs:
 | 
			
		|||
          exit-code: '1'
 | 
			
		||||
      - name: Upload CVE scan report
 | 
			
		||||
        if: always()
 | 
			
		||||
        uses: actions/upload-artifact@v3
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        with:
 | 
			
		||||
          name: scan_report_jvm_${{ matrix.supported_image_tag }}.txt
 | 
			
		||||
          path: scan_report_jvm_${{ matrix.supported_image_tag }}.txt
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,9 +31,9 @@ jobs:
 | 
			
		|||
  build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
    - name: Set up Python 3.10
 | 
			
		||||
      uses: actions/setup-python@v3
 | 
			
		||||
      uses: actions/setup-python@v5
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: "3.10"
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ jobs:
 | 
			
		|||
  stale:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/stale@v8
 | 
			
		||||
      - uses: actions/stale@v9
 | 
			
		||||
        with:
 | 
			
		||||
          debug-only: ${{ inputs.dryRun || false }}
 | 
			
		||||
          operations-per-run: ${{ inputs.operationsPerRun || 100 }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue