From 58e5a9abd92757c3ec6ac1db03e55e884048db3d Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Thu, 29 Aug 2024 13:34:54 -0400 Subject: [PATCH] chore(ci): add ci workflows --- .github/dependabot.yml | 9 +++++++++ .github/workflows/wcwidth.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/wcwidth.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ae14c5c4..e26e1e47 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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: diff --git a/.github/workflows/wcwidth.yml b/.github/workflows/wcwidth.yml new file mode 100644 index 00000000..c18e0952 --- /dev/null +++ b/.github/workflows/wcwidth.yml @@ -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 ./...