fix compilation with latest V (#18) #86
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: Discord tests | |
on: [push] | |
jobs: | |
discord_tests: | |
name: Run Discord tests | |
runs-on: ubuntu-latest | |
env: | |
TEST_TOKEN: ${{ secrets.TEST_TOKEN }} | |
TEST_GUILD: ${{ secrets.TEST_GUILD }} | |
TEST_CHANNEL: ${{ secrets.TEST_CHANNEL }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup V | |
uses: nocturlab/setup-vlang-action@v1 | |
with: | |
id: v | |
v-version: master | |
- name: Test HTTP | |
run: v test src/http_test.v |