File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010  build :
11- 
1211    runs-on : ubuntu-latest 
1312
14-     container :
15-       image :  google/dart:latest 
16- 
1713    steps :
18-     - uses : actions/checkout@v2 
14+     - uses : actions/checkout@v4 
15+     - uses : dart-lang/setup-dart@v1 
16+       with :
17+         sdk : ' 2.19'    #  Last stable Dart 2.x version
1918    - name : Install dependencies 
20-       run : pub get 
19+       run : dart  pub get
2120    - name : Run test with coverage  
22-       run : pub run  test --coverage coverage
21+       run : dart  test --coverage coverage
2322    - name : Generate lcov.info for test coverage 
24-       run : pub global activate coverage && pub global run coverage:format_coverage -i coverage/test -o coverage/lcov.info --lcov 
23+       run : dart  pub global activate coverage && dart  pub global run coverage:format_coverage -i coverage/test -o coverage/lcov.info --lcov
2524    - name : upload reports to codecov 
2625      run : curl -s https://codecov.io/bash | bash 
2726      env :
28-         CODECOV_TOKEN : ' ${{ secrets.CODECOV_TOKEN }}' 
27+         CODECOV_TOKEN : ' ${{ secrets.CODECOV_TOKEN }}' 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments