Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
araujo88 committed Oct 19, 2024
1 parent 0152ff6 commit 8e73d50
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,27 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- "**/*.md"
pull_request:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- "**/*.md"

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- 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 test -v ./...
- name: Test
run: go test -v ./...
File renamed without changes.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/araujo88/bitcoin-price-bot-nostr

go 1.19
go 1.20

require (
github.com/joho/godotenv v1.5.1
Expand Down

0 comments on commit 8e73d50

Please sign in to comment.