Skip to content

Commit

Permalink
xi: modernise, both in version numbers, and style a little go.yml wor…
Browse files Browse the repository at this point in the history
…kflow
  • Loading branch information
Omnikron13 committed Apr 4, 2024
1 parent c36e27c commit 3e6876b
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
name: Go
on: [push]
on:
push:
branches:
- "main"
- "gen-docs"
pull_request:
branches:
- "main"
jobs:

build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
version: [ '1.12', 'stable', 'oldstable', ]

runs-on: ${{ matrix.os }}

name: Build
runs-on: ubuntu-latest
#runs-on: ubuntu-latest
steps:

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

id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand Down

0 comments on commit 3e6876b

Please sign in to comment.