Skip to content

feat: easy: find-all-k-distant-indices-in-an-array.go #177

feat: easy: find-all-k-distant-indices-in-an-array.go

feat: easy: find-all-k-distant-indices-in-an-array.go #177

Workflow file for this run

name: Tests
on: [ push ]
env:
CARGO_TERM_COLOR: always
jobs:
ts-test:
name: Test Typescript Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "yarn"
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install # will run `yarn install` command
- name: Test solutions
uses: borales/actions-yarn@v4
with:
cmd: test # will run `yarn test` command
rust-test:
name: Test Rust Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo test --verbose
go-test:
name: Test Golang Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.23.4' # The Go version to download (if necessary) and use.
- run: go test ./...