Skip to content

Commit

Permalink
add CI + reduce minumum go version
Browse files Browse the repository at this point in the history
  • Loading branch information
juandspy committed Dec 22, 2023
1 parent b6d53d6 commit 36be38a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go Test

on: [push]

jobs:
test:
strategy:
matrix:
go-version: [1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.21] # Add or remove versions as needed

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Run tests
run: go test -v ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/juandspy/monkey-lang

go 1.21.3
go 1.16

0 comments on commit 36be38a

Please sign in to comment.