Skip to content

Commit e9ba3ce

Browse files
Merge pull request #190 from spf13/updates
Updates
2 parents 0b4af69 + 9d37e3a commit e9ba3ce

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/dependabot.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@ version: 2
33
updates:
44
- package-ecosystem: gomod
55
directory: /
6-
labels:
7-
- dependencies
86
schedule:
97
interval: daily
108

119
- package-ecosystem: github-actions
1210
directory: /
13-
labels:
14-
- dependencies
1511
schedule:
1612
interval: daily

.github/workflows/ci.yml renamed to .github/workflows/ci.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches: [master]
76
pull_request:
87

98
jobs:
109
build:
1110
name: Build
1211
runs-on: ${{ matrix.os }}
12+
1313
strategy:
1414
# Fail fast is disabled because there are Go version specific features and tests
1515
# that should be able to fail independently.
@@ -19,14 +19,14 @@ jobs:
1919
go-version: ['1.16', '1.17', '1.18', '1.19', '1.20']
2020

2121
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
24+
2225
- name: Set up Go
23-
uses: actions/setup-go@v4
26+
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
2427
with:
2528
go-version: ${{ matrix.go }}
2629

27-
- name: Checkout code
28-
uses: actions/checkout@v3
29-
3030
- name: Build
3131
run: go build -v ./...
3232

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# cast
22

3-
[![Build Status](https://github.com/spf13/cast/actions/workflows/ci.yml/badge.svg)](https://github.com/spf13/cast/actions/workflows/ci.yml)
3+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/spf13/cast/ci.yaml?branch=master&style=flat-square)](https://github.com/spf13/cast/actions/workflows/ci.yaml)
44
[![PkgGoDev](https://pkg.go.dev/badge/mod/github.com/spf13/cast)](https://pkg.go.dev/mod/github.com/spf13/cast)
55
![Go Version](https://img.shields.io/badge/go%20version-%3E=1.16-61CFDD.svg?style=flat-square)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/spf13/cast)](https://goreportcard.com/report/github.com/spf13/cast)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/spf13/cast?style=flat-square)](https://goreportcard.com/report/github.com/spf13/cast)
77

88
Easy and safe casting from one type to another in Go
99

0 commit comments

Comments
 (0)