fix(core): improve user agent coverage #377
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Environment | |
uses: ./.github/actions/setup-env | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Lint core | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
working-directory: core | |
- name: Lint dashboard | |
run: task dashboard:lint:ci | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Environment | |
uses: ./.github/actions/setup-env | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Test | |
run: task core:test |