Skip to content

Commit

Permalink
Unify PR and main workflows
Browse files Browse the repository at this point in the history
* Also add more Go versions to test

Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Aug 25, 2023
1 parent 3352cc1 commit 4b8138a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/pr-checks.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

name: Tests/Jobs for main branch merges
jobs:
test:
strategy:
matrix:
go-version: [ 1.16.x ]
go-version: [ 1.16, 1.17, 1.18 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Test and Build
run: make all

0 comments on commit 4b8138a

Please sign in to comment.