Compare commits
2 commits
release
...
use-latest
Author | SHA1 | Date | |
---|---|---|---|
|
865b7666a1 | ||
|
657158f9e1 |
2 changed files with 28 additions and 7 deletions
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
|
@ -11,15 +11,17 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/tinygo-org/tinygo-dev
|
container: ghcr.io/tinygo-org/tinygo-dev:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Work around CVE-2022-24765
|
- name: Work around CVE-2022-24765
|
||||||
# We're not on a multi-user machine, so this is safe.
|
# We're not on a multi-user machine, so this is safe.
|
||||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3.5.3
|
||||||
- name: TinyGo version check
|
- name: TinyGo version check
|
||||||
run: tinygo version
|
run: tinygo version
|
||||||
|
- name: Download Go modules
|
||||||
|
run: go mod download
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: go test
|
run: go test
|
||||||
- name: Run TinyGo smoke tests
|
- name: Run TinyGo smoke tests
|
||||||
|
|
29
.github/workflows/macos.yml
vendored
29
.github/workflows/macos.yml
vendored
|
@ -12,16 +12,35 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-go1-18:
|
||||||
name: build
|
name: build-go1-18
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v4.1.0
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.3'
|
go-version: '1.18'
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3.5.3
|
||||||
|
- name: Download Go modules
|
||||||
|
run: go mod download
|
||||||
|
- name: Run unit tests
|
||||||
|
run: go test
|
||||||
|
- name: "Run macOS smoke tests"
|
||||||
|
run: make smoketest-macos
|
||||||
|
|
||||||
|
build-go1-21:
|
||||||
|
name: build-go1-21
|
||||||
|
runs-on: macos-11
|
||||||
|
steps:
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v4.1.0
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3.5.3
|
||||||
|
- name: Download Go modules
|
||||||
|
run: go mod download
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: go test
|
run: go test
|
||||||
- name: "Run macOS smoke tests"
|
- name: "Run macOS smoke tests"
|
||||||
|
|
Loading…
Reference in a new issue