Skip to content

test postal-code-japan: add a test for invalid reading (#224) #68

test postal-code-japan: add a test for invalid reading (#224)

test postal-code-japan: add a test for invalid reading (#224) #68

Workflow file for this run

name: Pages
on:
push:
branches:
- "master"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
# We can invalidate the current cache by updating this.
CACHE_VERSION: "2022-10-21"
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
- uses: actions/cache@v4
with:
path: |
~/.cache/red-datasets
key: ${{ env.CACHE_VERSION }}-pages-${{ hashFiles('lib/**') }}
restore-keys: |
${{ env.CACHE_VERSION }}-pages-
- name: Install dependencies
run: |
bundle install
- name: Generate
run: |
bundle exec rake pages
- uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/deploy-pages@v4
id: deployment