ruby-changes:68900
From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:15:07 +0900 (JST)
Subject: [ruby-changes:68900] 852ffe2627 (master): Create codeql-analysis-2.yml
https://git.ruby-lang.org/ruby.git/commit/?id=852ffe2627 From 852ffe2627076fcac0b8d50731637c59ba8e259a Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert <maximechevalierb@g...> Date: Tue, 20 Apr 2021 13:52:31 -0400 Subject: Create codeql-analysis-2.yml --- .github/workflows/codeql-analysis-2.yml | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/codeql-analysis-2.yml diff --git a/.github/workflows/codeql-analysis-2.yml b/.github/workflows/codeql-analysis-2.yml new file mode 100644 index 0000000000..7a13d9b9b2 --- /dev/null +++ b/.github/workflows/codeql-analysis-2.yml @@ -0,0 +1,40 @@ https://github.com/ruby/ruby/blob/trunk/.github/workflows/codeql-analysis-2.yml#L1 +name: "Code scanning - action 2" + +on: + push: + pull_request: + schedule: + - cron: '0 12 * * 4' + +jobs: + CodeQL-Build: + + # CodeQL runs on ubuntu-latest and windows-latest + runs-on: ubuntu-latest + + steps: + - name: Install libraries + run: | + set -x + sudo apt-get update -q || : + sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev bison autoconf ruby + + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 2 + + - name: Remove an obsolete rubygems vendored file + run: sudo rm /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb + + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: cpp + config-file: ./.github/codeql/codeql-config.yml + + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/