<commit_before>name: "Build & Test"

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: '^1.14.2'
      
      - name: Build
        run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -ldflags "-X system.Version=dev-${GIT_COMMIT:0:7}" -o build/wings_linux_amd64 -v wings.go
      
      - name: Test
        run: go test ./...
      
      - name: Compress binary
        if: ${{ github.ref == 'develop' }}
        run: upx build/wings_linux_amd64
      
      - uses: actions/upload-artifact@v2
        if: ${{ github.ref == "develop" }}
        with:
          name: wings_linux_amd64
          path: build/wings_linux_amd64<commit_msg>Well, that one was on me I guess<commit_after>name: "Build & Test"

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: '^1.14.2'
      
      - name: Build
        run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -ldflags "-X system.Version=dev-${GIT_COMMIT:0:7}" -o build/wings_linux_amd64 -v wings.go
      
      - name: Test
        run: go test ./...
      
      - name: Compress binary
        if: ${{ github.ref == 'develop' }}
        run: upx build/wings_linux_amd64
      
      - uses: actions/upload-artifact@v2
        if: ${{ github.ref == 'develop' }}
        with:
          name: wings_linux_amd64
          path: build/wings_linux_amd64
{'fraction_non_alphanumeric': 0.13303628262253342, 'fraction_numerical': 0.02928071292170592, 'mean_word_length': 1.8273381294964028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '340974', 'n_tokens_mistral': 587, 'n_tokens_neox': 556, 'n_words': 122}