Skip to content

Verify array before try to access any position #49

Verify array before try to access any position

Verify array before try to access any position #49

Workflow file for this run

on: [push, pull_request]
name: Continuous Integration
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.14', '1.15', '1.16', '1.18', '1.19', '1.20', '1.21']
name: Running with Go ${{ matrix.go }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run the tests
run: go test -coverprofile=coverage.txt -covermode=count ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: coverage.txt