Skip to content

Commit

Permalink
test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinDFuller committed Dec 19, 2023
1 parent 4da0829 commit 7e15d6c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: test

on:
push:
pull_request:

jobs:
test:
name: Test
runs-on: ubuntu-latest
environment: production

permissions:
contents: "read"
id-token: "write"

steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true

- name: Checkout LFS
run: git lfs checkout

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: Install npm
run: npm ci

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"

- name: "build"
run:
- echo "::error file=main.go,line=10,col=15::Something went wrong"
1 change: 1 addition & 0 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
]
},
"issues": {
"exclude-use-default": true,
"max-issues-per-linter": 0,
"max-same-issues": 0,
"fix": true
Expand Down

0 comments on commit 7e15d6c

Please sign in to comment.