Skip to content

Commit

Permalink
ci(action): use new GitHub Action to check the project
Browse files Browse the repository at this point in the history
  • Loading branch information
ansidev committed Jun 1, 2023
1 parent 0f6e875 commit fd428c7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 41 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Go CI
on:
push:
tags:
- v*
branches:
- main

permissions:
contents: read

jobs:
check:
name: check
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
# - windows-latest
go-version:
- '1.18'
- '1.19'
- '1.20'
runs-on: ${{ matrix.os }}
steps:
- name: Run Go CI
uses: ghacts/go@main
with:
go-version: ${{ matrix.go-version }}
skip-build: true
40 changes: 0 additions & 40 deletions .github/workflows/go.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tar-xz

[![Go Reference](https://pkg.go.dev/badge/github.com/ansidev/tar-xz.svg)](https://pkg.go.dev/github.com/ansidev/tar-xz)
[![Go CI](https://github.com/ansidev/tar-xz/actions/workflows/go.yml/badge.svg)](https://github.com/ansidev/tar-xz/actions/workflows/go.yml)
[![Go CI](https://github.com/ansidev/tar-xz/actions/workflows/ci.yml/badge.svg)](https://github.com/ansidev/tar-xz/actions/workflows/ci.yml)

## Introduction

Expand Down

0 comments on commit fd428c7

Please sign in to comment.