mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-27 09:18:55 +01:00
25 lines
511 B
YAML
25 lines
511 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- name: Go test
|
|
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
|
run: |
|
|
sudo apt-get update || true
|
|
sudo apt-get install -y zsh || true
|
|
make test
|