mattermost-plugin-shelfmark/.github/workflows/ci.yml
Felipe M. d3a8cbd895
All checks were successful
ci / test (pull_request) Successful in 4m8s
ci / lint (pull_request) Successful in 4m19s
ci / build (pull_request) Successful in 4m39s
Use actions/setup-bun instead of oven-sh/setup-bun
Switch to the actions/setup-bun action hosted on the Forgejo instance
for consistency with other actions references.
2026-04-08 12:01:44 +02:00

52 lines
1.1 KiB
YAML

name: ci
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
permissions:
contents: read
id-token: write
jobs:
lint:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: actions/setup-bun@v2
with:
bun-version: latest
- run: make check-style
test:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: actions/setup-bun@v2
with:
bun-version: latest
- run: make test
build:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: actions/setup-bun@v2
with:
bun-version: latest
- run: make dist