<commit_before>name: LSIF
on:
  push:
    paths:
      - '**.go'
      - 'go.mod'
      - '.github/workflows/lsif.yml'
env:
  GOPROXY: "https://proxy.golang.org"

jobs:
  lsif-go:
    if: github.repository == 'go-ini/ini'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Generate LSIF data
        uses: sourcegraph/lsif-go-action@master
      - name: Upload LSIF data to sourcegraph.com
        continue-on-error: true
        uses: docker://sourcegraph/src-cli:latest
        with:
          args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
      - name: Upload LSIF data to sourcegraph.unknwon.cn
        continue-on-error: true
        uses: docker://sourcegraph/src-cli:latest
        with:
          args: -endpoint=https://sourcegraph.unknwon.cn lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}<commit_msg>lsif: update upload endpoint (#317)<commit_after>name: LSIF
on:
  push:
    paths:
      - '**.go'
      - 'go.mod'
      - '.github/workflows/lsif.yml'
env:
  GOPROXY: "https://proxy.golang.org"

jobs:
  lsif-go:
    if: github.repository == 'go-ini/ini'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Generate LSIF data
        uses: sourcegraph/lsif-go-action@master
      - name: Upload LSIF data to sourcegraph.com
        continue-on-error: true
        uses: docker://sourcegraph/src-cli:latest
        with:
          args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
      - name: Upload LSIF data to cs.unknwon.dev
        continue-on-error: true
        uses: docker://sourcegraph/src-cli:latest
        with:
          args: -endpoint=https://cs.unknwon.dev lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
{'fraction_non_alphanumeric': 0.13463751438434982, 'fraction_numerical': 0.0028768699654775605, 'mean_word_length': 2.274952919020716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7628004', 'n_tokens_mistral': 622, 'n_tokens_neox': 591, 'n_words': 124}