Move runs-on under strategy

This commit is contained in:
Tatsuhiro Tsujikawa 2022-05-22 12:22:32 +09:00
parent 3977be938f
commit 26ef62d613
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,6 @@ on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-11]
@ -21,6 +19,8 @@ jobs:
- os: macos-11
compiler: gcc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Linux setup