Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the smoking test for windows runner; #17

Merged
merged 1 commit into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,22 @@ jobs:

- name: Build
run: |
xcaddy build master --output ${{ runner.temp }}/caddy --with github.com/mholt/caddy-ratelimit=./
xcaddy build master --output ${{ runner.temp }}/${{ matrix.name }} --with github.com/mholt/caddy-ratelimit=./
# smoking test
echo ''
echo '########'
echo '# caddy list-modules'
${{ runner.temp }}/caddy list-modules
echo "# ${{ runner.temp }}/${{ matrix.name }} version"
${{ runner.temp }}/${{ matrix.name }} version
echo '########'
echo ''
echo '########'
echo '# caddy build-info'
${{ runner.temp }}/caddy build-info
echo "# ${{ runner.temp }}/${{ matrix.name }} list-modules"
${{ runner.temp }}/${{ matrix.name }} list-modules
echo '########'
echo ''
echo '########'
echo "# ${{ runner.temp }}/${{ matrix.name }} build-info"
${{ runner.temp }}/${{ matrix.name }} build-info
echo '########'

- name: Test
Expand Down