fix(dagger): provide the .golangci.yaml via +defaultPath annotation. … #215
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: Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
lint: | |
name: Lint | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint files | |
uses: dagger/dagger-for-github@v6 | |
with: | |
version: "latest" | |
verb: call | |
args: lint --root=. | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
test: | |
name: Unit Tests | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint files | |
uses: dagger/dagger-for-github@v6 | |
with: | |
version: "latest" | |
verb: call | |
args: test --root=. | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} |