neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

coverity.yml (1239B)


      1 name: coverity
      2 on:
      3  schedule:
      4    - cron: '10 0 * * *'  # Run every day at 00:10
      5  workflow_dispatch:
      6 
      7 jobs:
      8  scan:
      9    runs-on: ubuntu-latest
     10    steps:
     11      - uses: actions/checkout@v6
     12      - uses: ./.github/actions/setup
     13 
     14      - name: Download Coverity
     15        run: |
     16          wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=neovim%2Fneovim" -O coverity_tool.tgz
     17          mkdir cov-scan
     18          tar ax -f coverity_tool.tgz --strip-components=1 -C cov-scan
     19        env:
     20          TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
     21 
     22      - name: Build dependencies
     23        run: make deps
     24 
     25      - name: Build/scan neovim
     26        run: |
     27          env PATH=$(pwd)/cov-scan/bin:$PATH cov-build --dir cov-int make
     28 
     29      - name: Submit results
     30        run: |
     31          tar zcf cov-scan.tgz cov-int
     32          curl --form token=$TOKEN \
     33            --form email=$EMAIL \
     34            --form file=@cov-scan.tgz \
     35            --form version="$(git rev-parse HEAD)" \
     36            --form description="Daily GHA scan" \
     37            'https://scan.coverity.com/builds?project=neovim%2Fneovim'
     38        env:
     39          TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
     40          EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}