From 37cc539052b4dffff3b468c8a25b5e414f3a7c79 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sat, 18 Jan 2020 02:16:00 +0900 Subject: [PATCH] ci: Add action test workflow --- .github/workflows/test-action.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test-action.yml diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml new file mode 100644 index 0000000..6ba5e0d --- /dev/null +++ b/.github/workflows/test-action.yml @@ -0,0 +1,33 @@ +name: Daily Test + +on: + push: + schedule: + - cron: '13 13 * * *' + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - 'ubuntu-18.04' + - 'macos-latest' + - 'windows-latest' + hugo-version: + - 'latest' + - '0.61.0' + extended: + - true + - false + steps: + + - uses: actions/checkout@v2 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: ${{ matrix.hugo-version }} + extended: ${{ matrix.extended }} + + - run: hugo version