github.com/tobgu/qframe@v0.4.0/.github/workflows/ci.yaml (about)

     1  name: CI
     2  
     3  on:
     4    - push
     5    - pull_request
     6  
     7  jobs:
     8    build:
     9      runs-on: ubuntu-latest
    10  
    11      strategy:
    12        matrix:
    13          go-version: ["1.21.x"]
    14  
    15      steps:
    16        - name: Checkout code
    17          uses: actions/checkout@v2
    18  
    19        - name: Set up Go
    20          uses: actions/setup-go@v2
    21          with:
    22            go-version: ${{ matrix.go-version }}
    23          id: go
    24  
    25        - name: Install dependencies
    26          run: make dev-deps
    27  
    28        - name: Run tests
    29          run: make ci
    30  
    31        - name: Update coverage report
    32          uses: ncruces/go-coverage-report@v0
    33          with:
    34            report: true
    35            chart: true
    36            amend: true
    37            reuse-go: true
    38          if: |
    39            github.event_name == 'push'
    40          continue-on-error: true