diff --git a/.github/workflows/docc.yml b/.github/workflows/docc.yml index 2f2383a..f922ffe 100644 --- a/.github/workflows/docc.yml +++ b/.github/workflows/docc.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1 diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index f075aa5..49e20f9 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -2,7 +2,9 @@ name: macOS on: push: - branches: ["**"] + branches: ["main"] + pull_request: + branches: ["main"] jobs: build: @@ -15,7 +17,7 @@ jobs: uses: swift-actions/setup-swift@v2 with: swift-version: '6.1.0' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: swift build -v - name: Run tests diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ca4352b..d9a6a73 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -5,7 +5,9 @@ name: Ubuntu on: push: - branches: ["**"] + branches: ["main"] + pull_request: + branches: ["main"] jobs: build: @@ -16,7 +18,7 @@ jobs: uses: swift-actions/setup-swift@v2 with: swift-version: '6.1.0' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build for release run: swift build -v -c release - name: Test diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 01046e3..9bb5e71 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -2,7 +2,9 @@ name: Windows on: push: - branches: ["**"] + branches: ["main"] + pull_request: + branches: ["main"] jobs: build: