github.com/avfs/avfs@v0.33.1-0.20240303173310-c6ba67c33eb7/.github/workflows/codeql-analysis.yml (about) 1 name: "CodeQL" 2 on: 3 schedule: 4 # ┌───────────── minute (0 - 59) 5 # │ ┌───────────── hour (0 - 23) 6 # │ │ ┌───────────── day of the month (1 - 31) 7 # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) 8 # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) 9 # │ │ │ │ │ 10 # │ │ │ │ │ 11 # │ │ │ │ │ 12 # * * * * * 13 - cron: '55 16 * * 0' 14 15 jobs: 16 CodeQL-Build: 17 # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest 18 runs-on: ubuntu-latest 19 20 permissions: 21 # required for all workflows 22 security-events: write 23 24 # only required for workflows in private repositories 25 actions: read 26 contents: read 27 28 steps: 29 - name: Checkout repository 30 uses: actions/checkout@v3 31 32 # Initializes the CodeQL tools for scanning. 33 - name: Initialize CodeQL 34 uses: github/codeql-action/init@v2 35 with: 36 languages: go 37 38 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 39 # If this step fails, then you should remove it and run the build manually (see below). 40 - name: Autobuild 41 uses: github/codeql-action/autobuild@v2 42 43 # ℹ️ Command-line programs to run using the OS shell. 44 # 📚 https://git.io/JvXDl 45 46 # ✏️ If the Autobuild fails above, remove it and uncomment the following 47 # three lines and modify them (or add more) to build your code if your 48 # project uses a compiled language 49 50 #- run: | 51 # make bootstrap 52 # make release 53 54 - name: Perform CodeQL Analysis 55 uses: github/codeql-action/analyze@v2