- remove ci args for use default config - make MaskPosition optional - Add check for nil in addFormFieldInputFileUpload (#161) - Change type of Stickers field in CreateNewStickerSetParams struct (#160)
		
			
				
	
	
		
			35 lines
		
	
	
		
			699 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			699 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: main
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    branches:
 | 
						|
      - main
 | 
						|
  pull_request:
 | 
						|
    branches:
 | 
						|
      - main
 | 
						|
jobs:
 | 
						|
  test:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - name: Install Go
 | 
						|
        uses: actions/setup-go@v5
 | 
						|
        with:
 | 
						|
          go-version: 1.18
 | 
						|
 | 
						|
      - name: Checkout code
 | 
						|
        uses: actions/checkout@v4
 | 
						|
 | 
						|
      - name: Run golangci-lint
 | 
						|
        uses: golangci/golangci-lint-action@v6
 | 
						|
        with:
 | 
						|
          version: v1.60
 | 
						|
 | 
						|
      - name: Run tests
 | 
						|
        run: |
 | 
						|
          go test -coverprofile=coverage.txt -covermode=atomic ./...
 | 
						|
 | 
						|
      - name: Publish coverage
 | 
						|
        uses: codecov/codecov-action@v4
 | 
						|
        with:
 | 
						|
          token: ${{ secrets.CODECOV_TOKEN }}
 | 
						|
          file: ./coverage.txt
 |