CI / test (push) Failing after 1m29s
The vlang:alpine container lacks Node.js which Gitea Actions needs for action steps (checkout@v4). Now installs V from source on the default ubuntu-latest runner image instead.
32 lines
560 B
YAML
32 lines
560 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install V
|
|
run: |
|
|
git clone --depth 1 https://github.com/vlang/v /opt/v
|
|
cd /opt/v && make
|
|
ln -s /opt/v/v /usr/local/bin/v
|
|
|
|
- name: Build
|
|
run: v -prod .
|
|
|
|
- name: Test
|
|
run: v test .
|
|
|
|
- name: Verify version
|
|
run: |
|
|
./ntfy-bridge --version
|
|
./ntfy-bridge --help
|