Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Add release workflow for desync project.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Apr 7, 2024
1 parent 42687b7 commit 748ef13
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/desync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Validate

on:
push:
# Always run when there are new commits
branches:
- '**'
# Always run when there are pull requests
pull_request:
branches:
- '**'

jobs:
build:
name: Validate on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]

timeout-minutes: 10
steps:
- name: Checkout desync
uses: actions/checkout@v2
with:
repository: V-Sekai/desync
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: '^1.15.6'

- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go test
- run: go build ./cmd/desync

0 comments on commit 748ef13

Please sign in to comment.