Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.8.0 #506

Merged
merged 13 commits into from
Oct 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: cimg/ruby:3.1.1
- image: cimg/ruby:3.1.2
environment:
- RAILS_ENV: test
- SELENIUM_CHROME_HEADLESS: true
Expand Down
23 changes: 0 additions & 23 deletions .github/release-drafter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:

# Upload the SARIF file generated in the previous step
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: output.sarif.json
44 changes: 32 additions & 12 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,45 @@
on: [push]
name: Suikoden Election 2018

on:
push:
branches:
- '**'
tags-ignore:
- 'v*.*.*'
workflow_dispatch:

jobs:
suikoden_election_2018_github_actions:
name: Suikoden Election 2018 CI
runs-on: ubuntu-latest
container:
image: ruby:3.1.1
strategy:
matrix:
ruby-version: ["3.1.2"]
steps:
- uses: actions/checkout@v3
- name: Bundler cache
uses: actions/cache@v3
- name: コードをチェックアウトする
uses: actions/checkout@v3
- name: Ruby のセットアップを行う
uses: ruby/setup-ruby@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Node.js のインストールを行う
# https://github.com/nodesource/distributions/blob/master/README.md#debmanual
run: |
curl -fsSL https://deb.nodesource.com/setup_current.x | bash -
apt install -y nodejs
KEYRING=/usr/share/keyrings/nodesource.gpg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null
gpg --no-default-keyring --keyring "$KEYRING" --list-keys

# TODO: ハードコーディングは直したい
VERSION=node_18.x
KEYRING=/usr/share/keyrings/nodesource.gpg
DISTRO="$(lsb_release -s -c)"
echo "deb [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list

sudo apt-get update
sudo apt-get install nodejs
# For Heroku
- name: Install appropriate version's Bundler
run: gem install bundler:2.2.32
- name: $ bundle install
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/release_drafter_config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.2
18.10.0
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.1
3.1.2
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
end

ruby '3.1.1'
ruby '3.1.2'

gem 'bootsnap', require: false
gem 'rails'
gem 'puma'
gem 'rails'

group :development, :test do
gem 'awesome_print'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ GEM
net-ssh (6.1.0)
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.13.3-x86_64-linux)
nokogiri (1.13.4-x86_64-linux)
racc (~> 1.4)
orm_adapter (0.5.0)
os (1.1.4)
Expand Down Expand Up @@ -714,7 +714,7 @@ DEPENDENCIES
whenever

RUBY VERSION
ruby 3.1.1p18
ruby 3.1.2p20

BUNDLED WITH
2.3.11
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "suikoden-election-2018",
"dependencies": {
"@rails/webpacker": "5.4.3",
"axios": "0.26.1",
"vue": "3.2.31",
"axios": "0.27.1",
"vue": "3.2.33",
"vue-loader": "17.0.0",
"vue-template-compiler": "2.6.14"
},
"devDependencies": {
"autoprefixer": "10.4.4",
"autoprefixer": "10.4.5",
"css-loader": "6.7.1",
"cssnano": "5.1.5",
"cssnano": "5.1.7",
"postcss-cssnext": "3.1.1",
"postcss-import": "14.1.0",
"postcss-loader": "6.2.1",
"sugarss": "4.0.1",
"webpack-dev-server": "4.7.4"
"webpack-dev-server": "4.8.1"
},
"private": true
}
Loading