<commit_before>name: Render & Deploy Site
on:
  push:
    branches:
      - main
  schedule:
    - cron: "0 6 * * 0" # At 06:00 on Sunday.

jobs:
  build:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2

      - uses: r-lib/actions/setup-r@master

      - uses: r-lib/actions/setup-pandoc@master

      - uses: r-lib/actions/setup-renv@v1

      # - name: Install font
      #   run: |
      #     brew tap homebrew/cask-fonts
      #     brew install --cask font-public-sans

      - name: Get ATP data
        run: |
          library(poddr)
          atp <- atp_get_episodes()
          cache_podcast_data(atp, csv = FALSE)
        shell: Rscript {0}

      - name: Get Relay.fm data
        run: |
          library(poddr)
          relay_shows <- relay_get_shows()
          relay_episodes <- relay_get_episodes(relay_shows)
          cache_podcast_data(relay_shows)
          cache_podcast_data(relay_episodes)
        shell: Rscript {0}

      - name: Get The Incomparable data
        run: |
          library(poddr)
          incomparable_shows <- incomparable_get_shows()
          incomparable_episodes <- incomparable_get_episodes(incomparable_shows)<commit_msg>Try updating actions<commit_after>name: Render & Deploy Site
on:
  push:
    branches:
      - main
  schedule:
    - cron: "0 6 * * 0" # At 06:00 on Sunday.

jobs:
  build:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2

      - uses: r-lib/actions/setup-r@v2

      - uses: r-lib/actions/setup-pandoc@v2

      - uses: r-lib/actions/setup-renv@v2

      # - name: Install font
      #   run: |
      #     brew tap homebrew/cask-fonts
      #     brew install --cask font-public-sans

      - name: Get ATP data
        run: |
          library(poddr)
          atp <- atp_get_episodes()
          cache_podcast_data(atp, csv = FALSE)
        shell: Rscript {0}

      - name: Get Relay.fm data
        run: |
          library(poddr)
          relay_shows <- relay_get_shows()
          relay_episodes <- relay_get_episodes(relay_shows)
          cache_podcast_data(relay_shows)
          cache_podcast_data(relay_episodes)
        shell: Rscript {0}

      - name: Get The Incomparable data
        run: |
          library(poddr)
          incomparable_shows <- incomparable_get_shows()
          incomparable_episodes <- incomparable_get_episodes(incomparable_shows)
{'fraction_non_alphanumeric': 0.09778520685332219, 'fraction_numerical': 0.010029251984956121, 'mean_word_length': 1.9230769230769231, 'pattern_counts': {'":': 0, '<': 13, '<?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': '6929931', 'n_tokens_mistral': 867, 'n_tokens_neox': 831, 'n_words': 163}