Bump path-to-regexp, express and serve #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'push-action/**' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16 | |
- name: setup python | |
uses: actions/setup-python@v2 | |
- name: pre-commit-cache | |
uses: actions/cache@v2 | |
env: | |
cache-name: pre-commit-dot-cache | |
with: | |
path: ~/.cache/pre-commit | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/.pre-commit-config.yaml') }} | |
- name: run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Set up node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '15.x' | |
- run: npm i | |
- run: npm run test -- --coverage | |
env: | |
CI: true | |
- name: goreleaser snapshot build | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
args: release --rm-dist --snapshot |