21 lines
480 B
YAML
21 lines
480 B
YAML
name: Test the code
|
|
on: [push]
|
|
jobs:
|
|
test:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20"
|
|
check-latest: true
|
|
- run: go run transliterator.go "Убойный Тапок"
|
|
build:
|
|
needs: [test]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20"
|
|
check-latest: true
|
|
- run: go build transliterator.go
|