Skip to content

Commit

Permalink
chore(ci): add ci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 29, 2024
1 parent 0336e39 commit 58e5a9a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "gomod"
directory: "/wcwidth"
schedule:
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "gomod"
directory: "/windows"
schedule:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/wcwidth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# auto-generated by scripts/dependabot. DO NOT EDIT.
name: wcwidth

on:
push:
branches:
- main
pull_request:
paths:
- wcwidth/**
- .github/workflows/wcwidth.yml

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./wcwidth
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./wcwidth/go.mod
cache: true
cache-dependency-path: ./wcwidth/go.sum
- run: go build -v ./...
- run: go test -race -v ./...

0 comments on commit 58e5a9a

Please sign in to comment.