Test pr comment #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS quick checks | |
on: | |
# Only run on pull requests: not pushes | |
pull_request: | |
branches: ["master", "release/**"] | |
jobs: | |
macos-quick: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.18.x" | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install squashfs from homebrew | |
run: | | |
brew install squashfs | |
- name: Build quick checks | |
run: | | |
go mod vendor | |
./mkversion.sh | |
go build -tags nosecboot -o /tmp/snp ./cmd/snap | |
- name: Runtime quick checks | |
run: | | |
/tmp/snp download hello | |
/tmp/snp version | |
if command -v mksquashfs; then | |
/tmp/snp pack tests/lib/snaps/test-snapd-tools/ /tmp | |
fi |