All checks were successful
Go Project Action / Spell-check and test go project (push) Successful in 59s
28 lines
642 B
YAML
28 lines
642 B
YAML
name: Go Project Action
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
run:
|
|
name: Spell-check and test go project
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Setup Go installation
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.24.x
|
|
- name: Spell checking
|
|
uses: crate-ci/typos@v1.39.0
|
|
with:
|
|
config: ./.typos-config
|
|
- name: Install dependencies
|
|
run: go get -u .
|
|
- name: Run tests
|
|
run: go test ./...
|