Skip to content

Commit

Permalink
Refactor CI workflow and update Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
raulfdm committed Feb 11, 2024
1 parent e0cc68a commit 0b67188
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 44 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
name: CI

on:
push:
branches:
- main

pull_request:
branches:
- main
on: [push]

jobs:
test:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1
- uses: actions/checkout@v4
name: Checkout repository

- name: Setup Go
uses: actions/setup-go@v4
with:
bun-version: 1.0.25
go-version: 1.21.7

- name: Display Go version
run: go version

- name: Install Dependencies
run: bun i
- name: Install dependencies
run: go get .

- name: Build
run: bun run build
run: go build -v -o dist/node-versions .
27 changes: 0 additions & 27 deletions .github/workflows/ci2.yml

This file was deleted.

0 comments on commit 0b67188

Please sign in to comment.