fix CI Zenith downloading #3
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint project | |
runs-on: ubuntu-latest | |
env: | |
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Dagger Zenith | |
run: | | |
git clone https://github.com/dagger/dagger | |
cd ./dagger | |
./hack/dev | |
sudo mv /bin/dagger /usr/local/bin | |
dagger version | |
- name: Run lint | |
env: | |
_EXPERIMENTAL_DAGGER_RUNNER_HOST: "docker-container://dagger-engine:dev" | |
run: | | |
cd ci | |
sudo dagger mod sync | |
sudo dagger query --doc lint.gql |