Files
fender/.github/workflows/test.yml
dependabot[bot] 18490d8034 chore(deps): bump jdx/mise-action in the github-actions group
Bumps the github-actions group with 1 update: [jdx/mise-action](https://github.com/jdx/mise-action).


Updates `jdx/mise-action` from 3 to 4
- [Release notes](https://github.com/jdx/mise-action/releases)
- [Changelog](https://github.com/jdx/mise-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jdx/mise-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: jdx/mise-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-15 01:12:39 +00:00

46 lines
1011 B
YAML

name: Test Branch
on:
push:
branches: [ main ]
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v4
- uses: actions/setup-go@v6
with:
check-latest: true
go-version-file: 'go.mod'
- name: Setup golangci-lint cache
uses: actions/cache@v5
with:
path: /home/runner/.cache/golangci-lint
key: golangci-lint-${{ runner.os }}-${{ hashFiles('**/go.mod') }}
restore-keys: |
golangci-lint-${{ runner.os }}-
- name: Run go mod tidy
run: make tidy && git diff --exit-code
- name: Run go generate
run: make generate && git diff --exit-code
- name: Run go lint
run: make lint
- name: Run go tests
run: make test