30 lines
478 B
YAML
30 lines
478 B
YAML
name: Test Project
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: [moon, amd64]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.23'
|
|
|
|
# - name: Install dependencies
|
|
# run: |
|
|
# sudo apt-get update
|
|
# sudo apt-get install -y task
|
|
|
|
- name: Run tests
|
|
run: task test
|