Skip to content

Commit

Permalink
modernize github actions workflow, bump to a supported version
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Fitzgerald <jfitzgerald@vmware.com>
  • Loading branch information
joefitzgerald committed Aug 16, 2023
1 parent dd7032c commit 45d9140
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 207 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Go

on:
push:
branches: [master]
pull_request:
branches: [master]

name: Build and Test
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go: ["stable", "oldstable"]
steps:
- uses: actions/checkout@v2

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

- name: Build and Test
run: ./scripts/ci.sh
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.17
go 1.19
Loading

0 comments on commit 45d9140

Please sign in to comment.