Skip to content

Merge pull request #715 from shogo82148/dependabot/github_actions/git… #2552

Merge pull request #715 from shogo82148/dependabot/github_actions/git…

Merge pull request #715 from shogo82148/dependabot/github_actions/git… #2552

Workflow file for this run

name: test
on:
push:
pull_request:
jobs:
provider:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
id-token: write
contents: read
environment: development
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
cache: true
go-version-file: provider/github-app-token/go.mod
cache-dependency-path: provider/github-app-token/go.sum
- name: Test
run: |
make test
working-directory: provider/github-app-token
action:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
cache: true
go-version-file: provider/github-app-token/go.mod
cache-dependency-path: provider/github-app-token/go.sum
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: action/package.json
cache: "npm"
cache-dependency-path: action/package-lock.json
- name: Install dependencies
run: |
npm ci
working-directory: action
- name: Test
run: |
npm run test
working-directory: action