From f5eb07d2d59b9572a91e9d64943a6655e113fe0d Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Wed, 11 Oct 2023 10:24:39 -0600 Subject: [PATCH] Delete .github/workflows/static-analysis.yml --- .github/workflows/static-analysis.yml | 84 --------------------------- 1 file changed, 84 deletions(-) delete mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml deleted file mode 100644 index d981143..0000000 --- a/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,84 +0,0 @@ -name: Static Analysis - -on: - push: - pull_request: - branches: - - main - -jobs: - check_duplicate_runs: - name: Check for duplicate runs - continue-on-error: true - runs-on: ubuntu-20.04 - outputs: - should_skip: ${{ steps.skip_check.outputs.should_skip }} - steps: - - id: skip_check - uses: fkirc/skip-duplicate-actions@v3.4.0 - with: - concurrent_skipping: always - cancel_others: true - skip_after_successful_duplicate: true - paths_ignore: '["**/README.md", "**/CHANGELOG.md", "**/LICENSE.txt"]' - do_not_skip: '["pull_request"]' - - dialyzer: - name: Static code analysis - runs-on: ubuntu-20.04 - - strategy: - matrix: - elixir: - - "1.11" - otp: - - "23.0" - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up Elixir - uses: erlef/setup-beam@v1 - with: - elixir-version: ${{ matrix.elixir }} - otp-version: ${{ matrix.otp }} - - - name: Restore deps cache - uses: actions/cache@v2 - with: - path: deps - key: ${{ runner.os }}-mix-{{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} - - - name: Restore _build cache - uses: actions/cache@v2 - with: - path: _build - key: ${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} - restore-keys: | - ${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} - ${{ runner.os }}-build-${{ matrix.otp }}-${{ matrix.elixir }} - - - name: Install hex - run: mix local.hex --force - - - name: Install rebar - run: mix local.rebar --force - - - name: Install package dependencies - run: mix deps.get - - - name: Compile package dependencies - run: mix deps.compile - - - name: Restore Dialyzer cache - uses: actions/cache@v2 - with: - path: priv/plts - key: ${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} - restore-keys: | - ${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }} - ${{ runner.os }}-dialyzer-${{ matrix.otp }}-${{ matrix.elixir }} - - - name: Run dialyzer - run: mix dialyzer --format dialyxir