Skip to content

Commit

Permalink
Sarthak | Renames build.yml for macos12
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakMakhija committed Aug 19, 2023
1 parent 9f4cfaf commit d350760
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 56 deletions.
40 changes: 12 additions & 28 deletions .github/workflows/build_macos_12.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: blast_macos_12
name: blast_macos_12

on:
push:
Expand All @@ -7,35 +7,19 @@ on:
branches: [ "main" ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
go-version: [1.20]

build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3

- uses: actions/cache@v3
with:
# In order:
# * Module download cache
# * Build cache (Mac)
path: |
~/go/pkg/mod
~/Library/Caches/go-build
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build
run: go build -v ./...
- name: Build
run: go build -v ./...

- name: Test
run: go clean -testcache && go test -v ./...
- name: Test
run: go test -v ./...
28 changes: 0 additions & 28 deletions .github/workflows/go.yml

This file was deleted.

0 comments on commit d350760

Please sign in to comment.