-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 717 Bytes
/
go.yml
File metadata and controls
35 lines (28 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: Go Test
on:
# every day-of-month 1st at 00:00 UTC
schedule:
# prettier-ignore
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
check-links:
uses: ./.github/workflows/link-check.yml
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
# prettier-ignore
go-version: '1.22'
cache: true
cache-dependency-path: '**/go.sum'
- name: Download dependencies
working-directory: ${{github.workspace}}/go-algorithm
run: make module
- name: Test
working-directory: ${{github.workspace}}/go-algorithm
run: make test