Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
Signed-off-by: James Pond <[email protected]>
  • Loading branch information
jamesponddotco committed Jun 25, 2024
1 parent dcbba6c commit 29a5c09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .builds/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ image: 'archlinux'
packages:
- 'go'
- 'make'
- 'scdoc'
sources:
- https://git.sr.ht/~jamesponddotco/acopw-go
tasks:
- setup: |
cd acopw-go
make init
- lint: |
cd acopw-go
export PATH="${HOME}/go/bin:${PATH}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
runs-on: 'ubuntu-latest'
name: 'Tests'
steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

- name: 'Setup Go environment'
uses: 'actions/setup-go@v4'
with:
go-version: '>=1.21'
go-version: '>=1.22'

- name: 'Run tests'
run: 'make test'
7 changes: 2 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,12 @@ jobs:
name: 'Lint Go files'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

- name: 'Setup Go environment'
uses: 'actions/setup-go@v4'
with:
go-version: '>=1.20.3'

- name: 'Download project dependencies'
run: 'make init'
go-version: '>=1.22'

- name: 'Run govulncheck'
run: 'make vulnerabilities'
Expand Down

0 comments on commit 29a5c09

Please sign in to comment.