git.iko.soy/typeable/oauth2-proxy
on d2d62bb help sign in
57 lines 1.7 kB history raw
1name: "Code scanning - action"
3on:
4 push:
5 branches: [master, ]
6 pull_request:
7 # The branches below must be a subset of the branches above
8 branches: [master]
9 schedule:
10 - cron: '0 15 * * 2'
12jobs:
13 CodeQL-Build:
15 strategy:
16 fail-fast: false
18 # CodeQL runs on ubuntu-latest and windows-latest
19 runs-on: ubuntu-latest
21 steps:
22 - name: Checkout repository
23 uses: actions/checkout@v2
24 with:
25 # We must fetch at least the immediate parents so that if this is
26 # a pull request then we can checkout the head.
27 fetch-depth: 2
29 # If this run was triggered by a pull request event, then checkout
30 # the head of the pull request instead of the merge commit.
31 - run: git checkout HEAD^2
32 if: ${{ github.event_name == 'pull_request' }}
34 # Initializes the CodeQL tools for scanning.
35 - name: Initialize CodeQL
36 uses: github/codeql-action/init@v1
37 with:
38 languages: go
40 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
41 # If this step fails, then you should remove it and run the build manually (see below)
42 - name: Autobuild
43 uses: github/codeql-action/autobuild@v1
45 # ℹ️ Command-line programs to run using the OS shell.
46 # 📚 https://git.io/JvXDl
48 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
49 # and modify them (or add more) to build your code if your project
50 # uses a compiled language
52 #- run: |
53 # make bootstrap
54 # make release
56 - name: Perform CodeQL Analysis
57 uses: github/codeql-action/analyze@v1