Skip to content

chore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4 #47

chore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4

chore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4 #47

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: read
env:
TASK_VERSION: 3.44.0
NODE_VERSION: lts/*
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install Task
uses: go-task/setup-task@v2
with:
version: ${{ env.TASK_VERSION }}
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v9
with:
args: --help
- name: Run lint
run: golangci-lint run
commitlint:
name: Lint commit messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Validate PR commits with commitlint
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
commitlint-scope:
name: Lint commit scopes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Lint commit scopes
run: |
docker run --rm \
-v "${{ github.workspace }}:/repo" \
-w /repo \
thumbrise/commitlint-scope:latest-alpine \
run \
--from ${{ github.event.pull_request.base.sha }} \
--to ${{ github.event.pull_request.head.sha }} \
--verbose
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Test
run: go test ./... -v