2023-04-13 17:04:25 +03:00
|
|
|
name: Test the code
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-04-13 17:15:18 +03:00
|
|
|
test:
|
2023-04-13 17:06:39 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: "1.20"
|
|
|
|
check-latest: true
|
2023-04-13 17:09:14 +03:00
|
|
|
- run: go run transliterator.go "Убойный Тапок"
|
2023-04-13 17:15:18 +03:00
|
|
|
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
|