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: jobs:
build: build:
runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-22.04, macos-11] os: [ubuntu-22.04, macos-11]
@ -21,6 +19,8 @@ jobs:
- os: macos-11 - os: macos-11
compiler: gcc compiler: gcc
runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Linux setup - name: Linux setup