Giter Club home page Giter Club logo

ci-example's Introduction

CI 例

目次

実行環境

asdf を使う場合

Windows の場合、WSL2 もしくは Docker を使用してください

  • asdf のプラグインを追加する

    awk '{system("asdf plugin-add " $1)}' .tool-versions
  • 必要な開発言語をインストールする

    asdf install
  • Node.js の依存パッケージをインストールする

    npm install
  • Python の依存パッケージをインストールする

    pip install --upgrade pip \
      && pip install -r requirements.txt
      && asdf reshim python

asdf を使わない場合

  • 必要な言語

    • Python
    • Node.js
  • Node.js の依存パッケージをインストールする

    npm install
  • Python の依存パッケージをインストールする

    pip install --upgrade pip \
      && pip install -r requirements.txt

静的解析

pre-commit

手動で静的解析を実行する場合は以下のコマンドを実行する

pre-commit run --all-files

コミット時に静的解析を自動実行する場合は以下のコマンドを実行する

pre-commit install

Super-Linter

※ Docker が必要

npm run super_lint

super-linter/super-linter.log に実行結果が保存される

CodeQL

※ Docker が必要

npm run codeql

codeql/results/codeql.csv に実行結果が保存される

ci-example's People

Contributors

ryowakabayashi avatar

Watchers

James Cloos avatar  avatar Yu Matsuo avatar

ci-example's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.