1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-01 04:24:19 +00:00

*: Fix GHA shell directive

This commit is contained in:
diamondburned 2024-10-13 22:11:17 -07:00
parent e198c6e8f2
commit f8537d78bb
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -11,6 +11,10 @@ on:
default: false
type: boolean
defaults:
run:
shell: nix develop -c bash -e {0}
jobs:
generate:
name: Generate
@ -22,7 +26,7 @@ jobs:
- name: Generate
run: |
nix develop -c go generate ./...
go generate ./...
if ! git diff --exit-code; then
if [[ $GITHUB_REF == refs/heads/main ]]; then
@ -47,7 +51,6 @@ jobs:
- name: Build
run: go build -v ./...
shell: nix develop -c {0}
unit-test:
name: Unit Test
@ -63,7 +66,6 @@ jobs:
env:
TEST_FLAGS: >-
-v=${{ runner.debug && '1' || '0' }}
shell: nix develop -c {0}
integration-test:
name: Integration Test
@ -87,7 +89,6 @@ jobs:
GUILD_ID: ${{ secrets.GUILD_ID }}
VOICE_ID: ${{ secrets.VOICE_ID }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
shell: nix develop -c {0}
- name: Upload coverage profile
uses: actions/upload-artifact@v3