chore: update dprint config
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -39,9 +39,9 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Format code with dprint
|
||||
run: |
|
||||
curl -fsSL https://dprint.dev/install.sh | sh
|
||||
cp /home/runner/.dprint/bin/dprint /usr/local/bin/dprint
|
||||
dprint fmt --config .github/config/dprint.json
|
||||
npm install -g dprint
|
||||
mkdir -v -p /home/runner/.cache/dprint/cache
|
||||
npx dprint fmt --config .github/config/dprint.json
|
||||
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
|
||||
- name: Run tests
|
||||
|
||||
Reference in New Issue
Block a user