github: Migrate from Travis CI to Github Actions
[strongswan.git] / .github / workflows / lgtm.yml
1 name: lgtm.com
2
3 on: [push]
4
5 env:
6   OS_NAME: linux
7
8 jobs:
9   lgtm:
10     runs-on: ubuntu-latest
11     env:
12       TEST: lgtm
13     steps:
14       - uses: actions/checkout@v2
15         with:
16           fetch-depth: 0
17       # we don't use github/codeql-action because we can't exclude queries there,
18       # so we continue to use the approach we used on Travis
19       - env:
20           LGTM_TOKEN: ${{ secrets.LGTM_TOKEN }}
21           BUILD_NUMBER: ${{ github.run_id }}
22           COMMIT_ID: ${{ github.sha }}
23           COMMIT_BASE: ${{ github.event.before }}
24         uses: ./.github/actions/default