-
-
Notifications
You must be signed in to change notification settings - Fork 635
29 lines (25 loc) · 699 Bytes
/
Copy pathtest_ubuntu.yml
File metadata and controls
29 lines (25 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: test ubuntu
on:
workflow_call:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_type != 'tag' }}
jobs:
linux_build:
runs-on: ubuntu-22.04
steps:
- name: Setup Swift
uses: YOCKOW/Action-setup-swift@main
with:
swift-version: "5.10"
- name: Get swift version
run: swift --version
- uses: actions/checkout@v3
- name: Run tests
run: swift test